Unable to move PACKAGE DIST error
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- csharp, wasm
- 領域
- build-system
調査の方向性
実験で WASM head をビルドして断続的に発生する失敗を再現し、その後、dist_work が最終的な dist ディレクトリに移動される Uno.Wasm.Bootstrap.targets の 175 行目と、ShellTask.cs の 1282-1287 行付近を調査します。Windows でディレクトリの移動が拒否される理由を特定し、解決策または workaround を文書化するか検証します。ビルドとデプロイが成功することが完了条件です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 57
- フォーク
- 20
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommunityToolkit/Tooling-Windows-Submodule のほかの issue
-
Running WASM on All Solution Doesn't work in VS再び着手できるかも @Arlodotexe が 245 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug :bug: build :fire: regression sample app 🖼 WASM
CommunityToolkit/Tooling-Windows-Submodule#307 · コメント 2 件 · 担当者 1 名 ·
-
GenerateAllSolution with only wasm target won't build再び着手できるかも @Arlodotexe が 245 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug :bug: build :fire: sample app 🖼 WASM
CommunityToolkit/Tooling-Windows-Submodule#306 · コメント 1 件 · 担当者 1 名 ·
-
bug :bug:
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
Add basic usage docs for Build-Toolkit-Docs.ps1 script再び着手できるかも @Arlodotexe が 597 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation :page_with_curl: low difficulty powershell
CommunityToolkit/Tooling-Windows-Submodule#282 · 担当者 1 名 ·
-
bug :bug: regression testing 🏗
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CommunityToolkit/Tooling-Windows-Submodule の issue をすべて見る
似ている issue
-
area: core bug help wanted ready
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ZaidX88/sluice#265 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: remote bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
📅 Sprint 4 Module-Tools Setup Submit:None 🦔 Size Tiny
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
CodeYourFuture/Module-Tools#712 ·
-
A: Mapping P3: Standard T: New Feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
space-wizards/space-station-14#46878 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 60/100
CommunityToolkit/Windows#896 · コメント 2 件 ·