Hi @Rafael Pereira , Thanks for using Microsoft Q&A Platform.
I empathize with your disappointment ,
It sounds like there might be an issue with the SDK version that Xamarin is trying to use. Here are a few steps you can try to resolve the issue:
Check the SDK version in your project file: Make sure that the <TargetFramework> element in your project file is set to a valid version of the .NET SDK. You can find a list of valid versions on the Microsoft website.
Install the required SDK: If the SDK is not installed on your machine, you can try installing it manually from the Microsoft website or using the Visual Studio Installer.
Clear the NuGet cache: In Visual Studio, go to Tools > Options > NuGet Package Manager > General and click on "Clear All NuGet Cache(s)". Then try rebuilding your project.
Check the references in your project: Make sure that all the required references are included in your project. You can check the references by right-clicking on your project in the Solution Explorer and selecting "Manage NuGet Packages".
Try creating a new project: If none of the above steps work, try creating a new project from scratch and see if you still encounter the same error. If the new project works, then there might be an issue with your original project file.
I hope this helps.
Regards,
Johnson A
-Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks.