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

[BUG] Adding community toolkit to razor class library breaks styles.css #2362

Open
2 tasks done
Freysi21 opened this issue Nov 28, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working unverified

Comments

@Freysi21
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Same issue as #2104
I have created a sample project here https://github.com/Freysi21/reprocommunitytoolkit.mauibug
building rclreprobug will result in a nuget package with no styles.css when refrencing CommunityToolkit.Maui

Without the refrence the nuget package includes it.

It seems like this has been solved but a repro sample was not provided.

Expected Behavior

Without the refrence the nuget package includes css for razor pages.

Steps To Reproduce

Run sample rclreprobug project and see that nuget package contains no css.

Link to public reproduction project repository

https://github.com/Freysi21/reprocommunitytoolkit.mauibug

Environment

- .NET MAUI CommunityToolkit:
- OS:
- .NET MAUI:

Anything else?

No response

@Freysi21 Freysi21 added bug Something isn't working unverified labels Nov 28, 2024
@ne0rrmatrix
Copy link
Contributor

We do not support dotnet 8.x. Can you update to dotnet 9.x and check and see if that resolves your issue? I updated your sample repo to dotnet 9.x and it built and packaged to a nuget. I looked inside the nuget and there is now a Component1.razor.css file included as of dotnet 9.0.30. Can you check and verify if this solves your issue?

@TheCodeTraveler TheCodeTraveler changed the title [BUG] repro steps for style bug [BUG] Adding community toolkit to razor class library breaks styles.css Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

2 participants