Del via


Available Assemblies

Xamarin.iOS, Xamarin.Android, and Xamarin.Mac all ship with over a dozen assemblies. Just as Silverlight is an extended subset of the desktop .NET assemblies, Xamarin platforms is also an extended subset of several Silverlight and desktop .NET assemblies.

Xamarin platforms are not ABI compatible with existing assemblies compiled for a different profile. You must recompile your source code to generate assemblies targeting the correct profile (just as you need to recompile source code to target Silverlight and .NET 3.5 separately).

Xamarin.Mac applications can be compiled in three modes: one that uses Xamarin's curated Mobile Profile, the Xamarin.Mac .NET 4.5 Framework which allows you target existing full desktop assemblies, and an unsupported one that uses the .NET API found in a system Mono installation. For more information, please see our Target Frameworks documentation.

.NET Standard Libraries

In addition to the iOS, Android, and Mac bindings, Xamarin projects can consume .NET Standard libraries.

Portable Class Libraries

Xamarin projects can also consume .NET Portable Class Libraries, although this technology is being deprecated in favor of .NET Standard.

Supported Assemblies

These are the assemblies available in the Reference Manager > Assemblies > Framework (Visual Studio 2017) and Edit References > Packages (Visual Studio for Mac), and their compatibility with Xamarin platforms.

Assembly API Compatibility Xamarin iOS Xamarin Android Xamarin Mac
FSharp.Core.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
l18N.dll Includes CJK, MidEast, Other, Rare, West Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
Microsoft.CSharp.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
Mono.CSharp.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
Mono.Data.Sqlite.dll ADO.NET provider for SQLite; see limitations. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
Mono.Data.Tds.dll TDS Protocol support; used for System.Data.SqlClient support within System.Data. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
Mono.Dynamic.​Interpreter.dll Xamarin.iOS Supported
Mono.Security.dll Cryptographic APIs. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
monotouch.dll This assembly contains the C# binding to the CocoaTouch API. This is only available within Classic iOS Projects. Xamarin.iOS Supported
MonoTouch.​Dialog-1.dll Xamarin.iOS Supported
MonoTouch.​NUnitLite.dll Xamarin.iOS Supported
mscorlib.dll Silverlight Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
OpenTK-1.0.dll The OpenGL/OpenAL object oriented APIs, extended to provide iPhone device support. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.dll Silverlight, plus types from the following namespaces:
System.Collections.Specialized
System.​ComponentModel
System.ComponentModel.Design
System.Diagnostics
System.IO
System.IO.Compression
System.IO.Compression.FileSystem
System.Net
System.Net.Cache
System.Net.Mail
System.Net.Mime
System.Net.​NetworkInformation
System.Net.Security
System.Net.Sockets
System.Runtime.​InteropServices
System.Runtime.Versioning
System.Security.​AccessControl
System.Security.Authentication
System.Security.​Cryptography
System.Security.Permissions
System.Threading
System.Timers
Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​ComponentModel.​Composition.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​ComponentModel.​DataAnnotations.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Core.dll Silverlight Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Data.dll .NET 3.5 , with some functionality removed. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Data.​Services.​Client.dll Full oData client. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.IO.​Compression Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.IO.​Compression.​FileSystem Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Json.dll Silverlight Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Net.​Http.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​Numerics.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Runtime.​Serialization.dll Silverlight Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​ServiceModel.dll WCF stack as present in Silverlight Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​ServiceModel.​Internals.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​ServiceModel.​Web.dll Silverlight, plus types from the following namespaces:
System
System.ServiceModel.Channels
System.ServiceModel.Description
System.ServiceModel.Web
Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​Transactions.dll .NET 3.5; part of System.Data support. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Web.​Services.dll Basic Web services from the .NET 3.5 profile, with the server features removed. Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​Windows.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.​Xml.dll .NET 3.5 Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Xml.​Linq.dll .NET 3.5 Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
System.Xml.Serialization.dll Xamarin.iOS Supported Xamarin.Android Supported Xamarin.Mac Supported
Xamarin.iOS.dll This assembly contains the C# binding to the CocoaTouch API. This is only used in Unified iOS Projects. Xamarin.iOS Supported
Java.Interop.dll Xamarin.Android Supported
Mono.Android.dll Xamarin.Android Supported
Mono.Android.​Export.dll Xamarin.Android Supported
Mono.Posix.dll Xamarin.Android Supported
System.​EnterpriseServices.dll Xamarin.Android Supported
Xamarin.Android.​NUnitLite.dll Xamarin.Android Supported
Mono.CompilerServices.​SymbolWriter.dll For compiler writers. Xamarin.Mac Supported
Xamarin.Mac.dll Xamarin.Mac Supported
System.​Drawing.dll System.Drawing is not supported in the Unified API for the Xamarin.Mac, .NET 4.5, or Mobile frameworks. System.Drawing support can be added to iOS and macOS using the sysdrawing-coregraphics library Xamarin.iOS Supported Xamarin.Mac Supported