开发者

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

开发者 https://www.devze.com 2023-04-05 13:55 出处:网络
I got a solution with multiple projects. Three of the projects are setup projects and they are the ones producing the error.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消