Easy way to edit Visual Studio’s project file using XML editor

There are times one needs to edit a project file (csproj, vbproj or others) in XML editor or just text editor because all settings are not available through UI or perhaps it is easier. I usually right clicked on project node in solution explorer to open the folder (in explorer) where project file resides  and then edited the file using Notepad2.

Watching Hanselman’s podcast on MVC 2 I found that there is an easier way to do it. Right click on the project, do the unload project, re-click on, now unloaded, project node and pick edit yourproject.XXproj context item. There you go. After you’ve done editing, save it and pick reload project to continue working.