使用以下详细信息在VS 2012(更新5)中构建时发生崩溃:
欢迎任何有关此问题的信息。 Nuget版本2.8.60318.667
VS2012错误报告:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: NuGet.exe
Problem Signature 02: 4.6.2.5055
Problem Signature 03: 5abc2994
Problem Signature 04: NuGet
Problem Signature 05: 4.6.2.5055
Problem Signature 06: 5abc2994
Problem Signature 07: 113a
Problem Signature 08: 1d
Problem Signature 09: System.MissingMethodException
OS Version: 6.3.9600.2.0.0.256.4
Locale ID: 1033
Additional Information 1: b7d6
Additional Information 2: b7d6c2e5daaa8871798cc10ddd35970b
Additional Information 3: 5b5d
Additional Information 4: 5b5d296921c7f5f427d03f948377754e
错误说明:
错误60命令“”.nuget \ NuGet.exe“安装 “\ packages.config”-source“” - 非互动 -RequireConsent -solutionDir“”“退出,代码为-532462766。
在输出标签中:
1> .nuget \ NuGet.targets(100,9):错误:未处理的异常: System.MissingMethodException:找不到方法:'!! 0 [] System.Array.Empty()”
1> .nuget \ NuGet.targets(100,9):错误:at NuGet.Common.CommandLineResponseFile.ParseArgsResponseFiles(字符串[] args,Int32 parseArgsResponseFileRecursionDepth)
1> .nuget \ NuGet.targets(100,9):错误:at NuGet.CommandLine.Program.Main(String [] args)
1> .nuget \ NuGet.targets(100,9):错误MSB3073:命令 “”.nuget \ NuGet.exe“install”\ packages.config“-source”“ -NonInteractive -RequireConsent -solutionDir“\”“退出,代码为-532462766.2
答案 0 :(得分:0)
通过从Nuget 4.6.2降级到Nuget 4.1.0解决了问题。不确定为什么问题首先发生。