从 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.
相同的错误
当我尝试从 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.
相同的错误