【发布时间】:2019-09-04 12:23:05
【问题描述】:
我正在尝试构建 Visual Studio 代码,但出现以下构建错误。
我搜索了有关同一主题的答案。我已经尝试将 nuget.exe 添加到 Path 变量中。但似乎没有任何效果。
这是我在错误列表中的错误
MSB3073 The command "nuget.exe push -Source Application_Internal -ApiKey VSTS C:Users\Documents\LOCAL_NUGET_FEED\App.Util.*.*0.0.0*.nupkg" exited with code 9009
csconfig文件中对应的行是
<Exec Command="NuGet.exe push -Source Application_Internal -ApiKey VSTS $(LOCAL_NUGET_FEED)\$(AssemblyName)*.*$(Version)*.nupkg " />
任何帮助将不胜感激。
【问题讨论】:
-
9009 表示找不到 nuget.exe。您可以尝试在命令中提供 nuget.exe 的完整路径。
-
@klausGütter:感谢您的建议。我试过了,还是一样的错误。
标签: c# .net visual-studio msbuild