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".

Wednesday, July 2, 2008 at 2:02
Reader Comments (4)
I'm quite sure that PowerCommands for VS 2008 has this built in.
http://code.msdn.microsoft.com/PowerCommands
I'm quite sure that PowerCommands for VS 2008 has this built in.
http://code.msdn.microsoft.com/PowerCommands
Yes, Jeremy, PowerCommands has "Edit Project File" command.
Thank you for the tip.
[...] one more way to edit project files in Visual Studio (thanks to Jeremy Gray for the [...]