Closed mrlacey closed 2 years ago
I sometimes get an issue with wasm trying to copy stuff failing, but this is a separate issue probably:
8>C:\Users\...\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : System.ApplicationException: Unable to move PACKAGE DIST H:\code\Labs-UWP\labs\CanvasLayout\samples\CanvasLayout.Wasm\obj\Debug\net5.0\dist_work to H:\code\Labs-UWP\labs\CanvasLayout\samples\CanvasLayout.Wasm\bin\Debug\net5.0\dist\package_c99f848e5cffb415b91f9d0b255891dc8849bde4: System.IO.IOException: Access to the path 'H:\code\Labs-UWP\labs\CanvasLayout\samples\CanvasLayout.Wasm\obj\Debug\net5.0\dist_work' is denied.
8>C:\Users\...\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
8>C:\Users\....\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_ve126791f34aac2c690e13568d8a43ec63bda6d9e.PrepareFinalDist() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 1270 ---> System.IO.IOException: Access to the path 'H:\code\Labs-UWP\labs\CanvasLayout\samples\CanvasLayout.Wasm\obj\Debug\net5.0\dist_work' is denied.
8>C:\Users\...\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
8>C:\Users\...\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_ve126791f34aac2c690e13568d8a43ec63bda6d9e.PrepareFinalDist() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 1270
8>C:\Users\...\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : --- End of inner exception stack trace ---
8>C:\Users\...\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_ve126791f34aac2c690e13568d8a43ec63bda6d9e.PrepareFinalDist() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 1275
8>C:\Users\...\.nuget\packages\uno.wasm.bootstrap\3.1.2\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_ve126791f34aac2c690e13568d8a43ec63bda6d9e.Execute() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 230
Rebuilding after this resulted in the same issue though.
However, I can still just run a head and it works... So a little odd. Like a ghost issue.
FYI @Arlodotexe
This may be related to #116
Repro:
main
branch (although most should work)CanvasLayout.sln
in Visual Studio (also works withToolkit.Labs.All.sln
- but this is quicker)Errors include: