jgauffin
jgauffin

Reputation: 101192

Get rid of Visual Studio message box when building solutions with checked in setups

I got a solution with multiple projects. Three of the projects are setup projects and they are the ones producing the error.

Each time I build the project I get multiple warnings saying "The command you are attempting cannot be completed since XXX.vdproj is under source control and is not checked out".

How can I get rid of those messageboxes?

Why isn't the warning(s) added a to the "Error list" as all other errors/warnings are?

(Edit: checking out the setup projects will of course work, but I want to get rid of that messagebox without having to do a checkout every time)

Upvotes: 0

Views: 289

Answers (1)

Fredrik Mörk
Fredrik Mörk

Reputation: 158409

I would suggest creating a solution configuration in which the setup project is included in the build, and remove it from the regular Debug and Release configurations. That way you can (on a build server or in another context) build the setup when it makes sense.

Upvotes: 1

Related Questions