I am running the below MSBUILD command with the arguments, this creates a package.zip file fine.
MSBUILD /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation=$(Build.ArtifactStagingDirectory)\
The trouble is that the package is created with a very long path . Is there a way to reduce the path and set it so that i can control the zip file creation?
You can simply assign a package location that you want for argument /p:PackageLocation
, such as:
/p:PackageFileName=some\package.zip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With