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?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top