Last post Jul 10, 2008 11:12 AM by vivek_iit
Jul 08, 2008 08:30 AM|pbb|LINK
Is there a way to use local resources from code inside App_Code files? It seems I can only read from global resources...
(In a way I guess it makes sense that it is not possible, since local resources have to be in a App_LocalResources folder underneath the source file folder, so that would need a App_LocalResources folder inside the App_Code folder...)
But before assuming, I would like to be certain. It's a bit stupid if you can't continue the strategy of local and global resources from code in App_Code...
Jul 10, 2008 11:12 AM|vivek_iit|LINK
All files under app_code are compiled, and the asp.net runtime can read files from global and local resources by default. If you want the runtime to read the files from app_code (or any other directory) then you would need to write the code yourself (manually).