August 16, 2015

App_Code folder does not work with Web Application Projects.

If your application is a Web Application project rather than a Web Site project, the code files should not be in the App_Code folder (stupid design).

Solution:
1)Build Action of class.cs to be changed from "Content" to "Compile".

2)Create a new folder or something and put class files in there.

No comments: