Skip to content
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

Fix the WASM Trimming issue #996

Merged
merged 2 commits into from
Nov 19, 2023
Merged

Fix the WASM Trimming issue #996

merged 2 commits into from
Nov 19, 2023

Conversation

dvoituron
Copy link
Collaborator

Since we configured the Blazor Trimming option, some demo pages were no longer working properly.
These problems are due to Reflector calls that need to be informed in the Trimming parameters.

This is done with this code, added to the csproj

<ItemGroup>
	<TrimmerRootAssembly Include="Microsoft.FluentUI.AspNetCore.Components" />
	<TrimmerRootAssembly Include="FluentUI.Demo.Shared" />
</ItemGroup>

The part of code to "hack the compiler to include these classes in the final library" are removed.

@dvoituron dvoituron requested a review from vnbaaij November 19, 2023 17:36
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-996.westeurope.3.azurestaticapps.net

Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-pebble-0dc79cb03-996.westeurope.3.azurestaticapps.net

@vnbaaij vnbaaij merged commit edbb919 into dev Nov 19, 2023
@vnbaaij vnbaaij deleted the users/dvoituron/fix-wasm-trimming branch November 19, 2023 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants