visual studio 2017社区构建失败,没有显示任何错误
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了visual studio 2017社区构建失败,没有显示任何错误相关的知识,希望对你有一定的参考价值。
这是我最近每天打开和编辑的项目
有一天,我可以在午餐前编译,构建,发布项目,
在我回来后,它的构建失败并显示错误框构建失败(有构建错误,你想继续并运行上一次成功的构建),但没有显示错误(除了一些字符串,我没有改变任何东西,它是本地项目,因此只有我可以编辑它)
有警告信息,但我不知道它是否重要
Severity Code Description Project File Line Suppression State
Warning Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file:
我想知道解决方案怎么能突然死掉,我怎样才能追踪和恢复这个解决方案(如上所述,我正在午餐前处理这个项目)
产量
2>------ Rebuild All started: Project: Iing.WebApp, Configuration: Debug Any CPU ------
2>Build started 4/12/2019 3:54:53 PM.
2>CoreClean:
2> Deleting file "C:UserssammakDocumentsProjectsMODIST2017 - CopyIing.WebAppobjDebugIing.WebApp.csprojAssemblyReference.cache".
2> Deleting file "C:UserssammakDocumentsProjectsMODIST2017 - CopyIing.WebAppobjDebugRdlCompile.cache".
2>_HandlePackageFileConflicts:
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Reference:System.IO, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' and 'Platform:System.IO.dll'. NETSDK1033: Choosing 'Platform:System.IO.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.1.0'.
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Reference:System.Runtime, Version=4.1.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' and 'Platform:System.Runtime.dll'. NETSDK1033: Choosing 'Platform:System.Runtime.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.1.1'.
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Reference:System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' and 'Platform:System.Security.Cryptography.Algorithms.dll'. NETSDK1033: Choosing 'Platform:System.Security.Cryptography.Algorithms.dll' because AssemblyVersion '4.3.0.0' is greater than '4.2.1.0'.
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Reference:System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' and 'Platform:System.Security.Cryptography.Encoding.dll'. NETSDK1033: Choosing 'Platform:System.Security.Cryptography.Encoding.dll' because AssemblyVersion '4.0.2.0' is greater than '4.0.1.0'.
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Reference:System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' and 'Platform:System.Security.Cryptography.Primitives.dll'. NETSDK1033: Choosing 'Platform:System.Security.Cryptography.Primitives.dll' because AssemblyVersion '4.0.2.0' is greater than '4.0.1.0'.
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Reference:System.Security.Cryptography.X509Certificates, Version=4.1.1.2, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' and 'Platform:System.Security.Cryptography.X509Certificates.dll'. NETSDK1033: Choosing 'Platform:System.Security.Cryptography.X509Certificates.dll' because AssemblyVersion '4.1.2.0' is greater than '4.1.1.2'.
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Reference:System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' and 'Platform:System.Net.Http.WebRequest.dll'. NETSDK1038: Could not determine winner because 'Reference:System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' does not exist.
2>D:VS2017Microsoft Visual Studio2017CommunityMSBuildMicrosoftMicrosoft.NET.Build.ExtensionsMicrosoft.NET.Build.Extensions.ConflictResolution.targets(33,5): message NETSDK1041: Encountered conflict between 'Platform:System.Net.Http.WebRequest.dll' and 'Reference:System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL'. NETSDK1038: Could not determine winner because 'Reference:System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL' does not exist.
2>
似乎微软已经处理了这个问题并正在修复。似乎还有一个解决方法(我还没有尝试过)https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftRdlcReportDesignerforVisualStudio-18001&ssr=false#review-details
同样的问题,
1>Build FAILED.
1> 0 Warning(s)
1> 0 Error(s)
所以,我在输出窗口搜索失败,然后我发现了这个
1>Task "RdlCompile"
1>Done executing task "RdlCompile" -- FAILED.
1>Done building target "RunRdlCompiler" in project "foo.vbproj" -- FAILED.
确保你有这个选项:输出verbosity =详细,
options / build和run /“MSBuild项目构建输出详细程度”=详细
以上是关于visual studio 2017社区构建失败,没有显示任何错误的主要内容,如果未能解决你的问题,请参考以下文章
Visual Studio 2017 社区中 C++ 调试与发布构建结果的差异 [关闭]
Visual Studio 2017 - Git 因致命错误而失败
由于代理/防火墙,Visual Studio 2015 社区许可证更新在 Samba NT4 域中失败
使用 Visual Studio 2017 构建 open62541 DLL