I have an Angular 4 project (NG-p) in a separate repo. Also, I have my ASP.NET Core project (Core-p) in another repo. When Cope-p is built, it must contain NG-p artifacts. And I kind of managed to do it. Here's how it works:
- when NG-p changes, VSTS builds it and puts a zip file into Azure Storage
- Core-p gets built after that and produces ...well, something ..as part of BUILD .NET Core task
- it grabs that zip file (NG-p artifact) from Azure Storage, unzips it and puts into $(Build.ArtifactStagingDirectory)/wwwroot/js/app folder
- everything else are standard tasks - Test, Publish, Publish Artifact
Build succeeds. But when I open the artifacts, it contains:
- wwwroot folder (with all NG-p files inside)
- and myproject.zip file (everything Core-p) <= NG-p files should be there!
How can I have my NG-p files inside myproject.zip (and not have that separate wwwroot folder)?