Tuesday, August 04, 2009

Did you know: How to get “Unload Project” option to show

Typically if you want to edit your .csproj or .vbproj file manually then there is a very easy way to do this within VS:

First: Unload the project within VS

Unload Project

Second: On the unloaded project click “Edit project.csproj/vbproj”

Reload Project

Now you can edit the file and click “Reload Project”…

Although at times you might not see the “Unload Project” menu and  it is interesting to note that this menu shows only when your solution is showing up… The solution shows up when you have more than one project but if you have only one project in your solution then solution file does not show by default…  If you want to have the solution file show in the solution explorer then you can go down to Tools > Options > Projects and Solutions > General and check “Always show solution”…

Tools Options

After this your “Unload Project” menu should start showing up on your project file.

-Vishal

No comments: