Moving xamarin.ios to new SKD style issues

Phunction 206 Reputation points
2024-04-15T17:54:17.71+00:00

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods.

I am following the steps at

https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0

But I get multiple errors:

Error CS0012 The type 'UIScrollView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.iOS, Version=0.0.0.0,

and the errors are highlighted on random things that have nothing to do with it, like this will have the red underline with the error: Dictionary<nint, string>()

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,889 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,268 questions
{count} votes