在vs 2008中创建新的webforms时如何避免使用aspx.designer文件(How to avoid the aspx.designer files when creating new webforms in vs 2008)
我发现有些时候aspx.designer文件创建,有时则没有。 你能告诉我在哪里设置状态吗?
I found some times aspx.designer file creating and some times not. Can you guys let me know where to set the status.
最满意答案
我认为您创建的是网站项目,而不是Web应用程序项目。 如果创建网站项目,则不会生成designer.cs文件。 有关Web站点项目和Web应用程序项目之间的区别,请参阅Visual Studio中的Web应用程序项目与Web站点项目
I think you create web site projects, not web application projects. If you create web site projects, no designer.cs files will be generated. For the difference between web site projects and web application projects see Web Application Projects versus Web Site Projects in Visual Studio
更多推荐
发布评论