Is there a Windows build in mono for an Android profile?

I am developing a sample Xamarin application and I had a build error for my Android profile, the following error.

Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'Windows.dll' at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(List`1 assemblies, AssemblyDefinition assembly, Boolean topLevel) Xamarin.Android.Tasks.ResolveAssemblies.Execute() 

I could not understand what the specific problem is: does the window assembly not exist in the mono profile for Android? Please help me.

+6
source share
2 answers

Here you can see all the available assemblies:

Xamarin.Android: http://docs.xamarin.com/guides/android/advanced_topics/assemblies

Xamarin.iOS: http://docs.xamarin.com/guides/ios/advanced_topics/assemblies

Therefore, Windows.dll is not available. You can also scan your current builds for compatibility here: http://scan.xamarin.com/

+2
source

There must be updates available in your sdk for Android.

-1
source

Source: https://habr.com/ru/post/954477/


All Articles