You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a WebAssembly app project consumes a class library that includes a NativeFileReference, the native library is not included in the build output of the consuming WebAssembly project. This results in missing native dependencies at runtime, even though the library project compiles without errors.
To Reproduce
Create a class library project (.csproj) that references a native library using NativeFileReference.
Reference this class library from a WebAssembly app project.
Build the WebAssembly app project.
What it's correctly behaviour
It should link native libraries from class libraries into web assembly app
Describe the bug
When a WebAssembly app project consumes a class library that includes a NativeFileReference, the native library is not included in the build output of the consuming WebAssembly project. This results in missing native dependencies at runtime, even though the library project compiles without errors.
To Reproduce
What it's correctly behaviour
Further technical details
dotnet --info
Similar Issues
The text was updated successfully, but these errors were encountered: