Skip to content

msbuild pack specify version from command line? #4235

Description

@red8888

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions