nuget: “The replacement token 'id' has no value”

后端 未结 1 871
遥遥无期
遥遥无期 2021-02-06 21:19

Executing

nuget.exe pack ..\\.nuget\\nuget.exe pack ..\\pathToProject\\myproject.nuspec -IncludeReferencedProjects -Prop Configuration=Release

相关标签:
1条回答
  • 2021-02-06 22:14

    When using token replacement, make sure your are trying to nuget pack the csproj file, not the nuspec file

    nuget pack myproject.csproj -IncludeReferencedProjects -Prop Configuration=Release
    

    The nuspec is picked up automatically when given the same name as the csproj file.

    0 讨论(0)
提交回复
热议问题