This is what I do with nuget pack now:
nuget.exe pack myapp.csproj -IncludeReferencedProjects -Properties Configuration=Release;prerelease=INeedToSetThisFromTheCommandNotStaticConfigFile-123
msbuild pack says no:
msbuild myapp.csproj /T:pack /p:Configuration=Release;prerelease="-INeedToSetThisFromTheCommandNotStaticConfigFile-123"
prerelease=-INeedToSetThisFromTheCommandNotStaticConfigFile-123 : The term 'prerelease=-INeedToSetThisFromTheCommandNotStaticConfigFile-123' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
This is what I do with nuget pack now:
nuget.exe pack myapp.csproj -IncludeReferencedProjects -Properties Configuration=Release;prerelease=INeedToSetThisFromTheCommandNotStaticConfigFile-123msbuild pack says no:
msbuild myapp.csproj /T:pack /p:Configuration=Release;prerelease="-INeedToSetThisFromTheCommandNotStaticConfigFile-123"