Unable to move PACKAGE DIST error
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- csharp, wasm
- Ambito
- build-system
Direzione di ricerca
Riproduci il malfunzionamento intermittente compilando il WASM head in un esperimento, quindi esamina Uno.Wasm.Bootstrap.targets alla riga 175 e ShellTask.cs intorno alle righe 1282-1287, dove dist_work viene spostato nella directory dist finale. Determina perché lo spostamento della directory Windows viene negato e documenta o verifica una risoluzione o un workaround; una compilazione e un deployment riusciti sono la condizione di completamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Seem to always see this on first run, sometimes more often. We should ensure we update or see if there's a resolution or workaround for this somewhere...
Steps to reproduce
Build WASM head (not the IIS one) in an experiment, get this issue sometimes (usually on first run, sometimes more frequently):
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : System.ApplicationException: Unable to move PACKAGE DIST H:\code\CommunityToolkitWindows\components\Converters\heads\Wasm\obj\Debug\net5.0\dist_work to H:\code\CommunityToolkitWindows\components\Converters\heads\Wasm\bin\Debug\net5.0\dist\package_153e6e3933bc5d07d488f97e23bf3e5b69d0c95a: System.IO.IOException: Access to the path 'H:\code\CommunityToolkitWindows\components\Converters\heads\Wasm\obj\Debug\net5.0\dist_work' is denied.
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_vfc89b40db92a14b8f04d4c5c9c72690bdcd7b878.PrepareFinalDist() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 1282 ---> System.IO.IOException: Access to the path 'H:\code\CommunityToolkitWindows\components\Converters\heads\Wasm\obj\Debug\net5.0\dist_work' is denied.
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_vfc89b40db92a14b8f04d4c5c9c72690bdcd7b878.PrepareFinalDist() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 1282
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : --- End of inner exception stack trace ---
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_vfc89b40db92a14b8f04d4c5c9c72690bdcd7b878.PrepareFinalDist() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 1287
5>C:\Users\mhawker\.nuget\packages\uno.wasm.bootstrap\3.3.1\build\Uno.Wasm.Bootstrap.targets(175,5): error : at Uno.Wasm.Bootstrap.ShellTask_vfc89b40db92a14b8f04d4c5c9c72690bdcd7b878.Execute() in D:\a\1\s\src\Uno.Wasm.Bootstrap\ShellTask.cs:line 234
### Expected behavior
Builds and deploys without issue
### Screenshots
_No response_
### Code Platform
- [ ] UWP
- [ ] WinAppSDK / WinUI 3
- [X] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK
### Windows Build Number
- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [ ] Windows 11 21H2 (Build 22000)
- [ ] Other (specify)
### Other Windows Build number
_No response_
### App minimum and target SDK version
- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Other (specify)
### Other SDK version
_No response_
### Visual Studio Version
_No response_
### Visual Studio Build Number
_No response_
### Device form factor
_No response_
### Additional context
_No response_
### Help us help you
No, I'm unable to contribute a solution.
- Lingua principale
- C#
- Stelle
- 57
- Fork
- 20
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CommunityToolkit/Tooling-Windows-Submodule
-
Running WASM on All Solution Doesn't work in VSForse di nuovo libera @Arlodotexe l’ha presa 245 giorni fa e non c’è nessuna pull request aperta. Apertabug :bug: build :fire: regression sample app 🖼 WASM
CommunityToolkit/Tooling-Windows-Submodule#307 · 2 commenti · 1 assegnatario ·
-
GenerateAllSolution with only wasm target won't buildForse di nuovo libera @Arlodotexe l’ha presa 245 giorni fa e non c’è nessuna pull request aperta. Apertabug :bug: build :fire: sample app 🖼 WASM
CommunityToolkit/Tooling-Windows-Submodule#306 · 1 commento · 1 assegnatario ·
-
bug :bug:
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
-
Add basic usage docs for Build-Toolkit-Docs.ps1 scriptForse di nuovo libera @Arlodotexe l’ha presa 597 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation :page_with_curl: low difficulty powershell
CommunityToolkit/Tooling-Windows-Submodule#282 · 1 assegnatario ·
-
bug :bug: regression testing 🏗
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di CommunityToolkit/Tooling-Windows-Submodule
Issue simili
-
area: core bug help wanted ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ZaidX88/sluice#265 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: remote bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Install a C# EnvironmentAperta📅 Sprint 4 Module-Tools Setup Submit:None 🦔 Size Tiny
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
CodeYourFuture/Module-Tools#712 ·
-
A: Mapping P3: Standard T: New Feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
space-wizards/space-station-14#46878 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 60/100
CommunityToolkit/Windows#896 · 2 commenti ·