Hello @Sanjay Kumar Jha ,
This error is related to the ** maui
workload** , you could install the maui-android
and maui-ios
workloads manually, or modify your existing installation to make sure .NET, .NET MAUI, Android, iOS workloads are installed. For more details, you can refer to Build your first .NET MAUI app - .NET MAUI | Microsoft Learn
In addition, please open your csproj
, and check if there is the TargetFrameworks
element :
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>//This element is not in your screenshot
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.