Are there any alternatives to the WhenAnyValue API when using Native AOT? #4273
-
|
My project heavily uses WhenAnyValue, but when using Native AOT, it may cause crash due to code trimming. Are there any solution or alternatives? |
Beta Was this translation helpful? Give feedback.
Answered by
glennawatson
Jan 19, 2026
Replies: 1 comment
-
|
we are working on full AOT solutions but for the moment you can remove ReactiveUI from the trim. <ItemGroup>
<TrimmerRootAssembly Include="ReactiveUI" />
</ItemGroup>Add something similar to that in your csproj file. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
UEPSs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we are working on full AOT solutions but for the moment you can remove ReactiveUI from the trim.
Add something similar to that in your csproj file.