0

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/<<get_ExportCommand>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.

Chetan Rawat
  • 578
  • 3
  • 17
Ramesh
  • 392
  • 1
  • 12
  • 39

0 Answers0