Latest Replies
Wednesday
Jul022008

How to edit project files in Visual Studio

As you know, normally Visual Studio 2008 does not let you open *.csproj files from the current solution in the editor (for example, when you want to tweak the build process to compile these custom DSL scripts of yours). I used to resort to starting second instance of VS just for the XML editing with the IntelliSense.

However, as it turns out, there is another approach:

  • Right-click on the project in "Solution Explorer" and select "Unload Project".
  • Right-click on the project again and pick "Edit [ProjectName]".
  • When you're done with the editing, just hit "Reload Project".

How to edit project files in Visual Studio

« TortoiseSVN 1.5.0 is out | Main | Let's integrate our DSL compiler into the build process »

Reader Comments (4)

I'm quite sure that PowerCommands for VS 2008 has this built in.

http://code.msdn.microsoft.com/PowerCommands

July 2, 2008 | Unregistered CommenterJeremy Gray

I'm quite sure that PowerCommands for VS 2008 has this built in.

http://code.msdn.microsoft.com/PowerCommands

July 2, 2008 | Unregistered CommenterJeremy Gray

Yes, Jeremy, PowerCommands has "Edit Project File" command.

Thank you for the tip.

July 3, 2008 | Unregistered CommenterRinat Abdullin

[...] one more way to edit project files in Visual Studio (thanks to Jeremy Gray for the [...]

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>