bytecodealliance / componentize-dotnet

Tooling for creating WebAssembly components from C#
Apache License 2.0
19 stars 8 forks source link

Build warning - CSC : warning CS8784 #23

Open mikkelhegn opened 2 months ago

mikkelhegn commented 2 months ago

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]