try running "dotnet new globaljson --sdk-version 7.0.405" in your app root folder and install net 7 workloads as needed (maui, android, maui-android ...). "RuntimeConfigParserTask" is part of net 7 and net 7 is compatible with net 6 apps.
Cannot run Maui project .net6 in Visual studio 2022 version 17.8
Hi Team,
I updated visual studio from 17.4 to 17.8.
When i run my Maui project (using .NET6) It had an error:
C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.509\targets\Microsoft.Android.Sdk.RuntimeConfig.targets(38,5): error MSB4036: The "RuntimeConfigParserTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64" directory.
What happened?
Please check it and let me know ASAP.
Thanks!