How to set Build Action on a file - Advanced Properties Not Displayed in properties window

后端 未结 4 1243
情话喂你
情话喂你 2020-12-10 18:12

There is no advanced properties settings available for the files in my ASP NET 4.0 project in VS2010. I have looked through the options settings and I dont see how to turn t

4条回答
  •  执笔经年
    2020-12-10 18:25

    The response marked as the answer is not correct. These properties are available for ASP.NET applications, but only if the project type is a web application.

    Files on websites, in contrast, do not have these properties. The reason is that the Build Action, for example, is stored in the project file. Since websites lack project files, the Build Action cannot be set.

提交回复
热议问题