NuGet pack dollar version error
When executing nuget pack [ProjectName].nuspec
The error message occured: Value cannot be null or an empty string. Parameter name: value
It’s caused by the <version>$version$</version>
inside the .nuspec
file.
Pack the [ProjectName].csproj
directly to fix the problem.
nuget pack [ProjectName].nuspec