Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

“Link SDK Frameworks only” linker option causes compile error in iOS

I am using Xamarin.Essentials in my project. If I have linker option as "Link SDK Frameworks only", I am getting the below error.

MTOUCH: Error MT2101: Can't resolve the reference 'System.Void Xamarin.Essentials.ShareRequestBase::set_Title(System.String)', referenced from the method 'System.Void ViewModel/<b__52_0>d::MoveNext()' in 'Xamarin.Essentials, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. (MT2101) (.iOS)

If linker option is "Don't link" It compiles without error. May I know how can I resolve the error as "Don't link" linker option increases the app size considerably.

Best Answer

Answers

Sign In or Register to comment.