HI All,
I am facing following error when am trying to do MSbuild. (it was okay until yesterday). Any help is appreciated.
npm run build -- --noColor --buildMode development --outDir "C:\PavanWork\PCF\RR\out\controls" --buildSource MSBuild
Access is denied.
C:\Users\pk\.nuget\packages\microsoft.powerapps.msbuild.pcf\0.4.3\build\Microsoft.PowerApps.MSBuild.Pcf.targets(49,5): error MSB3073: The command "npm run build -- --noColor --buildMode development --outDir "C:\PavanWork\PCF\
\out\controls" --buildSource MSBuild" exited with code 1. [C:\PavanWork\PCF\\CardViewGrid.pcfproj]
Done Building Project "C:\PavanWork\PCF\\CardViewGrid.pcfproj" (default targets) -- FAILED.
Done Building Project "C:\PavanWork\PCF\\output\output.cdsproj" (default targets) -- FAILED.
"Access is denied." seems a pretty straightforward error.
Did you lock the folder somehow? Does the output dir not exist? Have you tried simply running msbuild from cmd as admin?
yes output folder exists, not locked anything. just running msbuild gives same error.
You get an Access is denied error even when running as admin?
corrrect also running developer command prompt in Admin mode
hmmmm... Looks like there is something weird going on with your outdir:
npm run build -- --noColor --buildMode development --outDir "C:\PavanWork\PCF\RR\out\controls" --buildSource MSBuild
Access is denied.
C:\Users\pk\.nuget\packages\microsoft.powerapps.msbuild.pcf\0.4.3\build\Microsoft.PowerApps.MSBuild.Pcf.targets(49,5): error MSB3073: The command "npm run build -- --noColor --buildMode development --outDir "C:\PavanWork\PCF\
\out\controls" --buildSource MSBuild" exited with code 1. [C:\PavanWork\PCF\\CardViewGrid.pcfproj]
Done Building Project "C:\PavanWork\PCF\\CardViewGrid.pcfproj" (default targets) -- FAILED.
Done Building Project "C:\PavanWork\PCF\\output\output.cdsproj" (default targets) -- FAILED.
yeah looks like but not sure what to change?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |