visual-studio 无法应用发布属性?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/982316/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 10:38:04  来源:igfitidea点击:

Unable to apply publish properties?

.netvisual-studiovisual-studio-2005warnings

提问by jasonh

I don't know what caused Visual Studio to start thinking it needs to publish my project, but now whenever I build it, I get several "Unable to apply publish properties for item 'blah'" warnings. How do I stop Visual Studio 2005's publishing facilities from working on my project completely? I use InstallShield, so I don't have any use for Visual Studio's publishing system.

我不知道是什么原因导致 Visual Studio 开始认为它需要发布我的项目,但是现在每当我构建它时,我都会收到几个“无法为项目 'blah' 应用发布属性”的警告。如何完全阻止Visual Studio 2005的发布工具处理我的项目?我使用InstallShield,所以我对 Visual Studio 的发布系统没有任何用处。

回答by RCIX

Open your project, select Project Properties->Publish(ing)->Application Files and click the reset all button. Does that help?

打开您的项目,选择项目属性->发布(ing)->应用程序文件,然后单击全部重置按钮。这有帮助吗?

回答by Peet Brits

In Project Properties > Publish > Application Files...

在项目属性 > 发布 > 应用程序文件...

If you click "Show All" you will see that some items have a yellow exclamation mark indicating that those files are no longer referenced. Just delete these entries.

如果单击“全部显示”,您将看到某些项目带有黄色感叹号,表示不再引用这些文件。只需删除这些条目。

enter image description here

在此处输入图片说明