xamarin-macios icon indicating copy to clipboard operation
xamarin-macios copied to clipboard

Unable to build net6.0-ios in the .NET 7 SDK

Open mattleibow opened this issue 2 years ago • 1 comments

Steps to Reproduce

  1. Make sure you have the .NET 7 SDK and iOS workloads installed
  2. donet new ios
  3. Edit the csproj to be net6.0-ios instead of net7.0-ios
  4. Build
  5. 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

msbuild.zip

mattleibow avatar Jun 24 '22 16:06 mattleibow

Yes, this is currently work in progress.

rolfbjarne avatar Jun 27 '22 11:06 rolfbjarne

Dup of #15672.

rolfbjarne avatar Aug 16 '22 08:08 rolfbjarne