Reputation: 51146
I realize this would violate convention, but I'm curious to know if you can do this through configuration.
Edit: I understand why I wouldn't want to do this. BUT, I do want to understand the internals of this time of project.
Upvotes: 1
Views: 1169
Reputation: 51146
Reflector tells me that System.Web.HttpRuntime contains...
internal const string CodeDirectoryName = "App_Code";
So the answer is no.
Upvotes: 1
Reputation: 754525
No you cannot rename this folder and have it actually contain executable code. The web project system is hard coded to look for code in this folder and will not consider any other folder for raw code.
Upvotes: 2
Reputation: 4169
I dont think this is posible, but why do you need to change it?
Upvotes: 0