Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

developering for DXC B4 exercise: "Deployment of msBuild generated package is not supported"

$
0
0
With some changes to the project, it was possible to get the alloy project to build. However, the release fails with this error:
020-06-02T22:19:37.9673238Z ##[error]Error: Deployment of msBuild generated package is not supported. Change package format or use Azure App Service Deploy task. D:\a\r1\a\Drop\drop\DxcAlloy.zip
Unfortunately, this forum wont let me paste any files or screen shots, as I am not a partner, but the crux would appear to be this:
steps:
- task: VSBuild@1
  displayName: 'Build solution'
  inputs:
    solution: '$(Parameters.solution)'
    msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)\\"'
    platform: '$(BuildPlatform)'
    configuration: '$(BuildConfiguration)'
It mentions msbuildArgs, so one assumes that it is using msbuild.  However there dont appear to be any other options.
Any ideas?
Anyone get alloy to build and deploy as per exercise B4?

Viewing all articles
Browse latest Browse all 6894

Trending Articles