79099029

Date: 2024-10-17 16:27:11
Score: 1
Natty:
Report link

I know this post is old, but if you are migrating from Xamarin to MAUI in Visual Studio (deprecated) you can do this:

  1. Update your Mac's operating system version (I have MacBook Pro, Sonoma 14.7)
  2. Update XCode and update iOS (today iOS 18.0)
  3. Update Visual Studio (today 17.6.14)
  4. Check in Visual Studio use .Net 8.0 in Preview Features
  5. Install SDK 8.0.403 and .NET Runtime 8.0.10 from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 (today version, IMPORTANT: If you install and still have the error, install x64 and arm64, or restart mac)
  6. Open the terminal in Visual Studio (View - Terminal):
    • sudo dotnet workload install maui (press enter and wait installation)
    • sudo dotnet workload install maui-tizen (press enter and wait installation)
    • sudo dotnet workload install ios (press enter and wait installation)
  7. Close Visual Studio and open again
  8. Done
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Peter Davis