bytecodealliance / bytecodealliance/componentize-dotnet

Build warning - CSC : warning CS8784

Abierto
#23 1 comentario 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
147
Forks
18
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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]
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Sigue las instrucciones del README para crear el proyecto de ejemplo, después compílalo y captura las advertencias CS8784 de VtableIndexStubGenerator y LibraryImportGenerator. Compara la salida de build generada con la TypeLoadException indicada; se considera completado cuando el proyecto sigue produciendo un Wasm ejecutable sin estas advertencias.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp, wasm
Área
build-system, tooling
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.