PierreL
PierreL

Reputation: 33

Is it possible to make independent modules in one xamarin app

is it possible to create several independent modules which can be integrated into one xamarin app considering that i don't want an app which simply launches others apps already installed on the smartphone.

Goal : One dev team takes charge of app1, one dev team takes charge of app2 and another dev team takes charge of masterApp. The MasterApp "simply" adds app1 and app2 with nuget packages for example. App1 and app2 must be built independently of masterAPP.

Is it possible to do such a thing ?

What i tried to do :

solution

Upvotes: 0

Views: 227

Answers (1)

Taier
Taier

Reputation: 2119

Take a look at this tutorial. With Xamarin you can create PCL library, that can be used on iOS/Android/WP.

https://developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/introduction_to_portable_class_libraries/

For our specific case (black box) you can create Class Library:

1) Create class library project enter image description here

2) Write code that you need enter image description here

3) Build as Release configuration

enter image description here

4) Locate builded .dll

enter image description here

5) Add it as .Net Assemble Reference to another Project

enter image description here

enter image description here

6) Call your public methods. You won't be able to look up implementations.

enter image description here

Upvotes: 1

Related Questions