Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.6k
Add .NET 10 target#12098
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:dev
Are you sure you want to change the base?
Add .NET 10 target#12098
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Co-authored-by: danielchalmers <7112040+danielchalmers@users.noreply.github.com>
Co-authored-by: danielchalmers <7112040+danielchalmers@users.noreply.github.com>
ScarletKuro commentedNov 11, 2025
danielchalmers commentedNov 11, 2025
This comment was marked as duplicate.
This comment was marked as duplicate.
ScarletKuro commentedNov 12, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I think |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
danielchalmers commentedNov 19, 2025
FYI I asked Gemini 3.0 Pro to fix the tests and it ran for over an hour on that single request and got pretty much nowhere. It's clearly missing the same knowledge that I don't have |
xC0dex commentedNov 22, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
We could try out upgrading to bunit Edit 1: Yes, it's a lot 😅 Edit 2: I was able to reproduce the test failure of |
Reverted the test fixes in commitb74a3de. The 3 test files are back to their original state and the tests are failing again as before. |
ScarletKuro commentedNov 24, 2025
Maybe, I was wrong about identifying the root cause. I tried to override the |
ScarletKuro commentedNov 24, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@danielchalmers@versile2 <MudTextFieldT="string"Value="@GetColorTextValue(_valueState.Value)"ValueChanged="SetInputStringAsync"Class="mud-picker-color-inputfield"Variant="Variant.Outlined"MaxLength="@GetHexColorInputMaxLength()"HelperText="HEX"Required="@Required" /> To simple <inputtype="text"@bind:get="@GetColorTextValue(_valueState.Value)"@bind:set="SetInputStringAsync" /> The |
ScarletKuro commentedNov 24, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Something related with:
When you set #8qb829ff it doesn't go back to#594ae2 even despite the:
returning the #594ae2 so something is out of the sync.The problem exist before and after the:#10357
|
versile2 commentedNov 24, 2025
Doesn't help those components are easily the most complicated |
timmac-qmc commentedDec 3, 2025
IMO I don't agree with that aspnetcore change, it seems poorly thought out and implemented (The comments in the file contradict themselves) but putting that aside, I believe what the intended solution should be is something like this copilot/add-dotnet-10-target...timmac-qmc:MudBlazor:copilot/add-dotnet-10-target Again, this is more just a proof of concept for consideration than a complete solution. |
ScarletKuro commentedDec 12, 2025
Just a small update. I think I’ve finally tracked down the root cause of the issue and what changed in .NET 10dotnet/aspnetcore#64203 I actually started working on a fixing that My hope is that#12259 (and a similar PR for |
ScarletKuro commentedDec 14, 2025
The color |
ScarletKuro commentedDec 14, 2025
This PR#12272 + removal of |
Uh oh!
There was an error while loading.Please reload this page.
Adds .NET 10.0 as a new target framework alongside .NET 8 and .NET 9.
Changes:
MudBlazor.csprojtonet8.0;net9.0;net10.0net10.0System.Net.Http.Jsonpackage references (now in-framework)net10.0for single-copy in multi-target builddeploy-mudblazor-nuget.yml) to install .NET 10 SDKTest Results:
Known Test Failures:
Three tests fail on .NET 10 due to breaking changes in how StateHasChanged is called and how input elements are rendered. These failures do not affect the core functionality of MudBlazor on .NET 10:
ColorPickerTests.SetColorInput_InvalidNoChange: Invalid hex color input parsing behaves differently due to .NET 10 no longer automatically calling StateHasChanged when exceptions occur during parameter setting (aspnetcore#63254)NumericFieldTests.NumericFieldTestCultureFormat: Input element'svalueattribute not rendered in markup due to changes in how Blazor renders input elements in .NET 10SelectTests.SelectTest1: OnBlur event timing/state synchronization issue with switch component affected by StateHasChanged behavior changeChecklist:
I've read thecontribution guidelines
My code follows the style of this project
I've added or updated relevant unit tests
FixesAdd .NET 10 target #12049
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn moreCopilot coding agent tips in the docs.