Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use standard desktop Mono assemblies or .NET assemblies with Mono for Android?

0
Posted

Can I use standard desktop Mono assemblies or .NET assemblies with Mono for Android?

0

You can not reuse the 1.0 or 2.0 desktop/server assemblies from Mono or .NET with Mono for Android. To reuse existing .NET code with Mono for Android, you must recompile your libraries with Mono for Android base assemblies. In particular, replacing the assemblies from Mono for Android with assemblies from the desktop Mono edition will not work since many APIs are missing from the Mono for Android lightweight Mono profile. APIs in .NET are bound to the core mscorlib library. On the desktop and server 1.0, 1.1 and 2.0 exists (version numbers: 1.0.3300.0, 1.0.5000.0 and 2.0.0.0 respectively), from the API exposed in mscorlib the rest of the assemblies flow. In Mono for Android instead of using the server/desktop assemblies we picked the Silverlight foundation since this foundation is lighter: it has fewer dependencies, brings less code to the device and drop a number of features that do not apply to the iPhone (configuring the runtime through System.Configuration for example and .config f

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123