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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Open your project, select Project Properties->Publish(ing)->Application Files and click the reset all button. Does that help?
回答2:
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.