xamarin-macios
xamarin-macios copied to clipboard
Unable to build net6.0-ios in the .NET 7 SDK
Steps to Reproduce
- Make sure you have the .NET 7 SDK and iOS workloads installed
-
donet new ios
- Edit the csproj to be net6.0-ios instead of net7.0-ios
- Build
- Observe error:
C:\Projects\maui\bin\dotnet\sdk\7.0.100-preview.6.22316.8\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(368,5): error NETSDK1073: The FrameworkReference 'Microsoft.iOS' was not recognized.
Expected Behavior
Builds the app.
Actual Behavior
Compiler error.
Environment
Version information
Build Logs
Yes, this is currently work in progress.
Dup of #15672.