After adding new class file to App_Code, build action is Content instead of Compile
-
07-11-2019 - |
Question
In VS2008, I am adding new classes to a web project.
When I right-click on App-Code -> Add -> New Item -> Class ...
The build action for the newly created item is set to content instead of compile. This seems like it would be a problem with the template. I've found several others through google who have run into this issue, but nobody seemed to have found a more permanent solution, other than "change it from content to compile after creation."
My question: Does anyone know of a fix for this, official or otherwise?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow