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?