开发者

Where does Visual Studio store file properties?

开发者 https://www.devze.com 2023-01-29 13:02 出处:网络
In Visual Studio there are some file properties such as Build Action, Custom Tool, and whether the file is Content etc. Where are these properties stored? For instance, if I modify the build action fo

In Visual Studio there are some file properties such as Build Action, Custom Tool, and whether the file is Content etc. Where are these properties stored? For instance, if I modify the build action for a file, 开发者_运维百科how does Visual Studio remember the new value?


In the .CSPROJ file, wich is stored as xml since Visual Studio 2005 I think. You can Right Click on a project, do "Unload", and then right click again and do "Edit xxx.csproj" and you will see the text directly. If you update it, you can again right click and do a "Reload".


You'll want to take a look at the solution (.sln) and project (.csproj) files.

This msdn project properties link might also help.

0

精彩评论

暂无评论...
验证码 换一张
取 消