0

I want to use a web deploy to publish my ASP.Net Web API project along with Angular app. Angular app build is running in pre-build action, I'm using CustommCollectFiles to include \dist folder in publish, but because it's not waiting for finishing it the dist folder content can be outdated. How to wait until pre-build action finish and only after that copy dist folder?

Andrey
  • 65
  • 1
  • 8
  • do you need to run the angular build in the web deploy pipeline? We just run the angular build via a command line task before the web deploy task kicks off. This effectively makes it in series. – Chris Bartlett May 01 '21 at 15:07

1 Answers1

0

Solution was using msbuild task in publish profile config (*.pubxml)

I found solution in this answer

Andrey
  • 65
  • 1
  • 8