Share via

Moving xamarin.ios to new SKD style issues

Phunction 301 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>()

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
Developer technologies | 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.


1 answer

Sort by: Most helpful
  1. Phunction 301 Reputation points
    2024-05-23T14:40:34.79+00:00

    I found there were a few older 3rd party libraries that were causing the issue and they do not have newer versions.


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.