Silverlight Tip of the Day #90 – How to Edit your CSPROJ File from VS
The CSPROJ file, saved in XML format, stores all the references for your project including your compilation options. There is also a SLN file which stores information about projects that make up your solution.
If you are using Visual Studio and have the need to view or edit your CSPROJ file while in Visual Studio you can do so by the following these steps:
- Create a new Silverlight Application.
- In the Solution Explorer, right click your Silverlight Application node and choose “Unload Project”.
- Right click again on the node and choose Edit. This will open up your CSPROJ file for editing.
- After making any changes you want, save and close the file.
- Right click again on the node and choose Reload project when done.
Thank you,
--Mike Snow
Subscribe in a reader