Try our conversational search powered by Generative AI!

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

Vote:
 
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?
#223708
Edited, Jun 02, 2020 22:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.