Duplicate messages in output when building VS 2013 setup project

感情迁移 提交于 2019-12-03 10:05:06

I think this is a bug in Visual Studio or its build process.

I get the same issue with VS2015; occasionally the IDE will start multiple tasks to build the same setup project. Once it has started doing this, it only gets worse. If I continue, I can get three tasks attempting the same build, and sometimes these tasks interact and cause one of them to fail.

The easiest workaround I've found is to simply exit and reload the entire IDE.

I suspect changing the maximum number of parallel builds in the IDE Tools/ Options/ Projects and Solutions / Build and Run will also work:

https://msdn.microsoft.com/en-us/library/y0xettzf%28v=vs.90%29.aspx

Why are there duplicate outputs from DLLs, when compiling Visual Studio Projects using VS 2013? This is my take on your question, without seeing your *.csproj file.

It appears that your MSBuild is set to duplicate outputs, this is easily changed, and you can follow the link for more information.

KeepDuplicateOutputs

This is an "Optional Boolean attribute" If it is true, multiple references to the same item in the target's Returns are recorded.

However, by default, this attribute is false. Without seeing your project, open your *.csproj using notepad or similar and scroll down to the bottom, the following is the default in my VS 2015 Community IDE. Make the changes to experiment with your output.

<!-- To modify your build process...
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->

If this answered your question, please mark it as answerd, pretty please (pleading voice).

VIjay

Change the launch condition .NET framework version as :

.NET Framework 4
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!