dotnet maui blazor application dotnet version upgrade issue

Copper Contributor

Hi there, I have a dotnet maui blazor app, I've created this project via visual studio 2022 community 17.2.0 preview 3 (latest preview). default dotnet version in csproject file was .net6.0 now I attempt to upgrade it to .net7.0, because I installed dotnet 7 sdk preview latest version. now I have this error:
The target platform identifier android was not recognized. TOrder C:\Program Files\dotnet\sdk\7.0.100-preview.3.22179.4\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 112

What should I do to fix? and how to upgrade maui blazor app .net version to 7?

1 Reply

Hi @MarshalOfficial,

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang