-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
browser-wasm - System.TypeLoadException: Could not load type 'System.Runtime.InteropServices.MemoryMarshal' #2731
Comments
This error is caused by breaking changes done between previews and release candidates. It should get fixed by #2730 |
Actually, we have the fix in NativeAOT-LLVM branch but it is in 10.0.0 package. Could you please try updating the package versions to 10.0.0 to see whether it fixes it?
|
It fiexed! thanks. |
We should update the sample to point to use dotnet10 TFM |
fix stringToNewUTF8 not export & issue dotnet#2731
there are another problem |
* fix samples/NativeLibrary fix stringToNewUTF8 not export & issue #2731 * Update ILCompiler.LLVM to 10.0.0 Update samples HelloWorld to 10.0.0
With the sample https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-LLVM/samples/NativeLibrary
Version: 9.0.0-rc.2.24473.5
when click
=
Button in the sample, the console of brower show error belowThe text was updated successfully, but these errors were encountered: