1

I have a solution under source control, one of the projects in it is vdproj (Visual Studio Deployment Project) or setup project, this project gives me very annoying tens of messages every time i try to build the solution

---------------------------
Microsoft Visual Studio
---------------------------
The command you are attempting cannot be completed because the file 'XXXXInstaller.vdproj' is under source code control and is not checked out.
---------------------------
OK   Help   
---------------------------

Visual Studio Error Message - VDProj Error

The question is: How to unload this project from the solution, when i try to unload it, there are no such option in the right-click context menu!

enter image description here

J. Steen
  • 15,470
  • 15
  • 56
  • 63
Saw
  • 6,199
  • 11
  • 53
  • 104

3 Answers3

10

I've found the issue raised on Microsoft Connect. It seems that "unload" is supported, but just not shown on the context menu. In other words, selecting the project and using the normal "Project" menu (next to "View") still shows the option "Unload project".

Another idea: If you keep your the deployment projects in a solution folder, you can use "Unload all projects in solution folder" from the context menu provided by the Microsoft Productivity Power Tools.

Andre Luus
  • 3,692
  • 3
  • 33
  • 46
2

@MSS, as a work around you can edit the solution file by commenting the corresponding .vdproj project.

Sham
  • 830
  • 9
  • 27
2

You can also select multiple projects in Solution Explorer (you will be able to unload at least one of them) and unload them. Then reload required projects.

implorer
  • 21
  • 3