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: Unhandled error after new MAUI Hybrid Blazor App Solution created and Manual install of Fluent #2969

Open
B-Cantu opened this issue Nov 23, 2024 · 1 comment
Labels
needs: repro code or repository The provided description or code is insufficient to repro the issue

Comments

@B-Cantu
Copy link

B-Cantu commented Nov 23, 2024

🐛 Bug Report

I created a new MAUI Hybrid Application solution using Visual Studio and DotNet 9

  • FluentUI was installed using:
dotnet add package Microsoft.FluentUI.AspNetCore.Components 

and the Icons and emoji's using

 dotnet add package Microsoft.FluentUI.AspNetCore.Components.Icons
 dotnet add package Microsoft.FluentUI.AspNetCore.Components.Emoji
  • Built and ran sample application was this worked fine and the Home.razor page was displayed

  • The setup document was read, "Blazor Hybrid" and I saw the note:

Note: The workaround below only applies to .NET 8 (and below). As of .NET 9 this workaround is no longer needed. If you have this workaround in place for .NET 9 your Blazor Hybrid project will not load.

  • added to the _Imports.razor file @using Microsoft.FluentUI.AspNetCore.Components
  • added to Home.Razor file the following:
<FluentCard>
    <h2>Hello World!</h2>
    <FluentButton Appearance="@Appearance.Accent">Click Me</FluentButton>
</FluentCard>
  • Built successfully, No errors
  • Application displayed as follows:

Image

@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Nov 23, 2024
@vnbaaij
Copy link
Collaborator

vnbaaij commented Nov 23, 2024

We can't assess the issue without any source code. Please add a zip or link to a repo.

@vnbaaij vnbaaij added needs: repro code or repository The provided description or code is insufficient to repro the issue and removed triage New issue. Needs to be looked at labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: repro code or repository The provided description or code is insufficient to repro the issue
Projects
None yet
Development

No branches or pull requests

2 participants