Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

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:

  1. Create a new Silverlight Application.
  2. In the Solution Explorer, right click your Silverlight Application node and choose “Unload Project”.
  3. Right click again on the node and choose Edit. This will open up your CSPROJ file for editing.
  4. After making any changes you want, save and close the file.
  5. Right click again on the node and choose Reload project when done.

Thank you,
--Mike Snow

 Subscribe in a reader

Comments

Microsoft Weblogs said:

The CSPROJ file, saved in XML format, stores all the references for your project including your compilation

# February 6, 2009 2:03 PM

Community Blogs said:

In this issue: Ken Cox, Damon Payne, Dean Chalk, Colin Eberhardt, and Jesse Liberty. Shoutouts: David

# February 6, 2009 7:26 PM

Dew Drop - Weekend Edition - February 7-8, 2009 | Alvin Ashcraft's Morning Dew said:

Pingback from  Dew Drop - Weekend Edition - February 7-8, 2009 | Alvin Ashcraft's Morning Dew

# February 8, 2009 9:17 PM

GuptaAtul said:

Not sure why you would qualify this as a Silverlight tip since this works for any type of project that is loaded in VS IDE and I guess pretty much for any language as well!

# February 9, 2009 4:33 AM

mike.snow said:

Very true :) My tips are any tips that Silverlight developers using VS Tools could use. 99% of them are directly related to the SL runtime but sometimes ill slip in a tool tip to help development with our tools.

# February 9, 2009 3:41 PM

Silverlight Tips of the Day - Blog by Mike Snow said:

The purpose of this post is to create an outline summary all the blogs from my Silverlight Tips of the

# February 10, 2009 6:22 PM

Visual Web Developer Team Blog said:

Most Recent Posts: Tip #93 - Reading XML with Silverlight Tip #92 - How to Load Images from a Stream

# February 10, 2009 6:25 PM

NewsPeeps said:

Thank you for submitting this cool story - Trackback from NewsPeeps

# August 8, 2009 6:35 PM