bytecodealliance / bytecodealliance/componentize-dotnet

Build warning - CSC : warning CS8784

オープン
#23 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
147
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

説明

On biulding a project created following the instaructions in the README, I recevie the following warning. The build does succeed, and produces a runable Wasm.

```
CSC : warning CS8784: Generator 'VtableIndexStubGenerator' failed to initialize. It will not contribute to the output and compilation e
rrors may occur as a result. Exception was of type 'TypeLoadException' with message 'Could not load type 'Microsoft.Interop.Marshalling
GeneratorFactoryKey`1' from assembly 'Microsoft.Interop.SourceGeneration, Version=9.0.10.30401, Culture=neutral, PublicKeyToken=b03f5f7
f11d50a3a'.'. [C:\Users\mikkelhegn\test\MyApp\MyApp.csproj]
CSC : warning CS8784: Generator 'LibraryImportGenerator' failed to initialize. It will not contribute to the output and compilation err
ors may occur as a result. Exception was of type 'TypeLoadException' with message 'Could not load type 'Microsoft.Interop.MarshallingGe
neratorFactoryKey`1' from assembly 'Microsoft.Interop.SourceGeneration, Version=9.0.10.30401, Culture=neutral, PublicKeyToken=b03f5f7f1
1d50a3a'.'. [C:\Users\mikkelhegn\test\MyApp\MyApp.csproj]
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

README の手順に従ってサンプルプロジェクトを作成し、ビルドして、VtableIndexStubGenerator と LibraryImportGenerator に対する CS8784 警告を取得します。生成された build 出力を報告された TypeLoadException と比較します。完了の条件は、プロジェクトがこれらの警告なしで引き続き実行可能な Wasm を生成することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, wasm
領域
build-system, tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。