Latest Windows 11 update has broken my MAUI .Net 8 projects

Jeff Rush 21 Reputation points
2025-10-24T02:25:50.27+00:00

Nine days ago on Oct 14th I was able to successfully and consistently build my MAUI .Net 8 projects using Visual Studio Community.

Microsoft installed an update on Oct 15th.

Since then, I have not been able to build my application on any platform (iOS, Android, Windows). I've tried dozens of suggestions on various community forums, and nothing has worked. I tried upgrading to .Net 9, but was told I have to have XCode 26 for that to work. I have XCode 16.4 and can't upgrade to 26.

Microsoft, what have you done? Why must you release updates that completely shatter the hard work of developers? Why must we spend days/weeks trying to "fix" what your updates break? It truly is the most frustrating aspect of using Microsoft technology.

I'm using Visual Studio Community 2022 version 17.14.18.

I have seen multiple errors that magically went away on their own, but the one that is consistent is "There is no application host available for the specified RuntimeIdentifier 'iossimulator-x64'"

I have customers waiting on a new build. Microsoft, please assist.

Thanks...

Developer technologies | .NET | .NET MAUI
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Le (WICLOUD CORPORATION) 3,585 Reputation points Microsoft External Staff
    2025-10-24T09:44:41.2066667+00:00

    Hello Jeff,

    Since .NET 8 for MAUI is out of support as of May 2025, upgrading to .NET 9 is the correct path forward.

    Fortunately, you do not need to upgrade Xcode immediately. The .NET 9 SDK provides workload sets that allow you to pin the MAUI workload version to one that is compatible with your existing Xcode 16.4 installation.

    First, create a global.json file in the root directory of your solution.

    {
      "sdk": {
        "version": "9.0.306",
        "workloadVersion": "9.0.305"
      }
    }
    

    This configuration specifies that while you are using a .NET 9.0.3xx SDK, the workloads for MAUI should be from the 9.0.305 set, which maintains compatibility with Xcode 16.4.

    Next, you need to update your project's .csproj file to target .NET 9. It is important to use the <TargetFrameworks> (plural) property to maintain support for all your target platforms (iOS, Android, etc.).

    <PropertyGroup>
      <!-- This ensures your application continues to target multiple platforms -->
      <TargetFrameworks>net9.0-ios;net9.0-android;net9.0-maccatalyst</TargetFrameworks>
     
      <!-- This line conditionally adds the Windows target when building on a Windows machine -->
      <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
     
      <!-- Other existing project properties -->
      <OutputType>Exe</OutputType>
      <UseMaui>true</UseMaui>
      <SingleProject>true</SingleProject>
    </PropertyGroup>
    

    After making these changes, remember to clean your environment to avoid any conflicts with previously installed workloads.

    From your solution's root directory, run the following commands:

    # Clear all local NuGet package caches
    dotnet nuget locals all --clear
     
    # It is also recommended to manually delete all 'bin', 'obj' and '.vs' folders
    # within your solution to ensure a completely clean build.
    

    With the environment cleaned and global.json in place, you can now install the correct MAUI workloads.

    # This will install the MAUI workloads specified by the 'workloadVersion' in your global.json
    dotnet workload install maui
     
    # Verify that the workloads were installed correctly
    dotnet workload list
    

    The output of dotnet workload list should now show the MAUI workloads installed from the 9.0.305 workload set.

    If you continue to experience the iossimulator-x64 error, the dotnet workload repair command can be used to fix any issues with the workload installation itself.

    dotnet workload repair
    

    After completing these steps, try building your project again.

    I hope this helps. If the problem persists, please provide details about what have you tried and any error messages you are seeing.

    Thank you.


  2. Jeff Rush 21 Reputation points
    2025-10-30T00:23:53.7233333+00:00

    Progress!

    It seems that the key step was verifying the "XCode path" in Visual Studio's settings. It is still flaky thought - works one time with the simulator and the next time if fails. With a physical device it seems to consistently work.

    I will continue for a few days and report back. I'm not quite ready to mark this as the answer until I have consistent success.

    Thanks Michael.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.