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.
精彩评论