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)
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.
精彩评论