microsoft/PartsUnlimited

error MSB3073: The command "grunt" exited with code 1 ;Set-Content : Could not find a part of the path 'D:\a\1\a\Publish\manifest.xml'. At D:\a\1\s\build.ps1:49 char:1

msazonov opened this issue · 0 comments

Hi all,
I am following the Microsoft lab for CI and CD using the Parts unlimited Repo but the and on 4 part and step 10 , .Net core Build in the AzureDevOps pipeline fails with the following error:

D:\a\1\s\src\PartsUnlimitedWebSite\PartsUnlimitedWebsite.csproj(41,5): error MSB3073: The command "grunt" exited with code 1.
##[error]Set-Content : Could not find a part of the path 'D:\a\1\a\Publish\manifest.xml'.
At D:\a\1\s\build.ps1:49 char:1

  • Set-Content -Path $manifestFile -Value $sourceManifest
  •   + CategoryInfo          : ObjectNotFound: (D:\a\1\a\Publish\manifest.xml:String) [Set-Content], DirectoryNotFoundE 
     xception
      + FullyQualifiedErrorId : GetContentWriterDirectoryNotFoundError,Microsoft.PowerShell.Commands.SetContentCommand
    
    
    

##[error]Process completed with exit code 1 and had 2 error(s) written to the error stream.

Hope someone can help me with this. I tried everything that i was able to find as suggestion.

Thank you.
Marina
Untitled