2013-02-04 89 views
0

我創建的命令行上NuGet包如下:用的NuGet的NuGet包OutputPath錯誤2.2.3

nuget pack MyProject.csproj -Properties "Configuration=Release;Platform=AnyCPU;OutputPath=." -Build 

這與NuGet.exe 2.1.3成功的作品,但是當我更新的NuGet .EXE 2.2.3與NuGet.exe更新-self,運行此命令現在出現以下錯誤打破:

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的不活一個更大的解決方案中,但對任何其他項目不依賴於該解決方案。

我該如何得到這個工作?

回答