dotnet / dotnet/macios

.NET 11 rc 1 workload version mismatch

Open
#26,581 2 comments 0 reactions 0 assignees View on GitHub
generator regression
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 13h
Merged PRs (30d)
96

Description

### Apple platform

iOS

### Framework version

net11.0-*

### Affected platform version

VS 2026, Win 11

### Description

Installed rc 1, then `dotnet workload install android ios --version 11.0.100-rc.1.26458.5`. Build something

```
StoreKit2 net11.0-ios failed with 1 error(s) (0.6s)
C:\Users\x\AppData\Local\dotnetup\dotnet\packs\Microsoft.iOS.Sdk.net11.0_26.5\26.5.12193-net11-rc.1\tools\msbuild\Xamarin.Shared.targets(2041,3): error
C:\Users\x\AppData\Local\dotnetup\dotnet\dotnet.exe exited with code -2147450730:
You must install or update .NET to run this application.

App: C:\Users\x\AppData\Local\dotnetup\dotnet\packs\Microsoft.iOS.Sdk.net11.0_26.5\26.5.12193-net11-rc.1\tools\
lib\bgen\bgen.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '11.0.0-rc.1.26426.105' (x64)
.NET location: C:\Users\goof\AppData\Local\dotnetup\dotnet\

The following frameworks were found:
11.0.0-rc.1.26425.128 at [C:\Users\x\AppData\Local\dotnetup\dotnet\shared\Microsoft.NETCore.App]

The following frameworks for other architectures were found:
x86
8.0.31 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
10.0.12 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=11.0.0-rc.1.26426.105&arch=
x64&rid=win-x64&os=win10
```

bgen expects .NET `11.0.0-rc.1.26426.105`, but the released rc is `11.0.0-rc.1.26425.128`.

### Steps to Reproduce

Build any iOS project.

### Did you find any workaround?

Update the version string in the runtimeconfig of bgen.

### Build logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by building any iOS project, then inspect the bgen runtimeconfig under the Microsoft.iOS SDK pack path. Verify that its required Microsoft.NETCore.App version matches the released .NET 11 RC, and confirm the build succeeds without the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.