Open datvm opened 2 days ago
This issue has been verified using Visual Studio 17.13 Preview 1(9.0.10 & 8.0.100 & 8.0.83). Can repro this issue on all platforms. And 8.0.82 works fine.
@Zhanglirong-Winnie hi, I really need to build my project. Could you tell me how I can install that version please?
Hi, @datvm You can change the MAUI controls version to 8.0.82, or lower.
Thank you very much! I can finally build my project by pinpointing MauiVersion
for now. Hope this is fixed soon.
<MauiVersion>8.0.82</MauiVersion>
As we plan to skip .NET 9 and wait for .NET 10, I assume we will have to pinpoint that version until .NET 10 is released? Or if there is a fix, will it get backported to .NET 8?
Description
When building a MAUI Blazor class library project (
Microsoft.NET.Sdk.Razor
) like this, I receive this error:MultipleMauiLibs.Lib1
depends on public Nuget packageBlazorMaterialWeb.Bundled
.MultipleMauiLibs.Lib2
depends onMultipleMauiLibs.Lib1
.MultipleMauiLibs.Lib1
only is fine.BlazorMaterialWeb.Bundled
, bothMultipleMauiLibs.Lib1
andMultipleMauiLibs.Lib2
are fine.BlazorMaterialWeb.Bundled
and buildingMultipleMauiLibs.Lib2
, the below error happens.I suspect it has something to do with https://github.com/dotnet/maui/issues/15234. I am sure my project could build before, probably with .NET 8.0.402. I tried uninstall my .NET SDK and reinstall it but with the workload installed the latest, I can't find out the version this issue begins (I do not know how to install a previous workload version).
Full error message:
Steps to Reproduce
No response
Link to public reproduction project repository
https://github.com/datvm/MultipleMauiBlazorLib
Version with bug
9.0.10 SR1
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, macOS, iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output