[英]OutputPath error with nuget pack in nuget 2.2.3
我正在命令行上创建一个NuGet包,如下所示:
nuget pack MyProject.csproj -Properties "Configuration=Release;Platform=AnyCPU;OutputPath=." -Build
这可以在NuGet.exe 2.1.3上成功运行,但是当我使用NuGet.exe update -self更新到NuGet.exe 2.2.3时,运行此命令现在会中断,并出现以下错误:
The output path property is not set for project 'MyProject.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='AnyCPU'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project.
Done building project "MyProject.csproj"
Failed to build 'MyProject.csproj'
MyProject确实存在于更大的解决方案中,但是它不依赖于该解决方案中的任何其他项目。
我该如何工作?
这是http://nuget.codeplex.com/workitem/2920修复的问题,应尽快更新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.