簡體   English   中英

從fsproj文件編譯NuGet軟件包時找不到''

[英]Unable to find '' when compiling a NuGet package from an fsproj file

當我嘗試從fsproj文件編譯軟件包時,出現以下錯誤。

Unable to find ''. Make sure the project has been built.

(該項目已建成)

設置-Verbosity detailed給我:

NuGet.CommandLineException: Unable to find ''. Make sure the project has been built.
   at NuGet.Commands.ProjectFactory.BuildProject()
   at NuGet.Commands.ProjectFactory.CreateBuilder(String basePath)
   at NuGet.Commands.PackCommand.BuildFromProjectFile(String path)
   at NuGet.Commands.PackCommand.BuildPackage(String path)
   at NuGet.Commands.PackCommand.ExecuteCommand()
   at NuGet.Commands.Command.Execute()
   at NuGet.Program.Main(String[] args)

我的命令行是這樣的:

..\.nuget\nuget pack Imms.FSharp.fsproj

當我這樣做時,會發生相同的事情:

..\.nuget\nuget pack Imms.FSharp.fsproj -Prop Configuration=Release -Prop Platform=AnyCPU

我使用什么nuspec或配置都沒有關系。

可能不再重要,但是對於那些有相同問題的人。 從nuget.org下載最新的nuget(v3.5.0)並使用它后,一切正常。 以前我一直在使用nuget 1.7,並且得到與op相同的錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM