bytecodealliance / bytecodealliance/componentize-dotnet
Build warning - CSC : warning CS8784
- Ngôn ngữ chính
- C#
- Star
- 147
- Fork
- 18
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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]
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Làm theo hướng dẫn trong README để tạo project mẫu, sau đó build project và ghi lại các cảnh báo CS8784 cho VtableIndexStubGenerator và LibraryImportGenerator. So sánh output build được tạo với TypeLoadException đã báo cáo; được coi là hoàn thành khi project vẫn tạo ra một Wasm có thể chạy mà không có các cảnh báo này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp, wasm
- Lĩnh vực
- build-system, tooling
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100