繁体   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