Code Monkey home page Code Monkey logo

Comments (2)

vnbaaij avatar vnbaaij commented on July 25, 2024

Hi,
I have no idea why the generated code would be different. Probably not found before because not many are building directly on Linux?

Not sure if it would have any effect, but any specific reason why you are running on .NET 6. I know a lot of investments have been made to make .NET 8 run better on Linux. Also, we focus on our .NET 8 version (Microsoft.FluentUI.AspNetCore.Components) where our .NET 6/7 version is in 'maintenance mode'.

If you are 'stuck' on .NET 6, I would advice you to open an issue in the dotnet repo as I think this is more a low level thing than something we can solve on our side.

from fluentui-blazor.

HofmeisterAn avatar HofmeisterAn commented on July 25, 2024

but any specific reason why you are running on .NET 6.

This is a kind of legacy project. We are planning to migrate it by the end of .NET 6 EOL (which is soon), along with some other projects. Anyway, I tried the same page with .NET 8 (8.0.205) and Microsoft.FluentUI.AspNetCore.Components version 4.7.2 and can confirm that the build is working ✔️.

If you are 'stuck' on .NET 6, I would advice you to open an issue in the dotnet repo as I think this is more a low level thing than something we can solve on our side.

I double-checked the generated sources. Using .NET 8 uses the full namespace as well (like the Windows build). It looks like I ran into a bug in the .NET 6 version (SDK/source generator).

For anyone who encounters this issue using .NET 6, it looks like explicitly specifying the generic type resolves/workarounds it:

<FluentIcon Icon="Microsoft.Fast.Components.FluentUI.Icon" Value="FilledCircle" Color="@Color.Accent"/>

Thanks for you reply and work.

from fluentui-blazor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.