使用签入设置构建解决方案时摆脱 Visual Studio 消息框
我得到了多个项目的解决方案。其中三个项目是安装项目,它们是产生错误的项目。
每次构建项目时,我都会收到多个警告,提示“您正在尝试的命令无法完成,因为 XXX.vdproj 处于源代码控制之下并且未签出”。
我怎样才能摆脱这些消息框?
为什么警告没有像所有其他错误/警告一样添加到“错误列表”中?
(编辑:检查安装项目当然可以工作,但我想摆脱该消息框而不必每次都进行检查)
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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议创建一个解决方案配置,其中安装项目包含在构建中,并将其从常规调试和发布配置中删除。这样,您就可以(在构建服务器上或在其他上下文中)在有意义时构建设置。
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.