In this recipe, we will be putting everything together and testing the final application. We will be referencing the .NET Standard 2.0 library from the Android application and using the library from the Android application.
Make sure you have completed the previous recipe that builds the .NET Standard 2.0 library. If you have, open up the solution and get started on this application.
- Open
Finder
. - Click
Applications
in the left-hand pane. - Now, double-click on the Visual Studio icon.
- Click on
Open
, locate theChapter9.Xamarin
solution, and open it. - The
Solution Explorer
should look like this:
- Now, expand the
Chapter9.Xamarin.AndroidApp
project node. - In the
Solution Explorer
, control (^) + click on theReferences
label and selectEdit References
. - In the
Edit References
dialog box, click on theProjects
tab.
- Check
Chapter9.Xamarin.AndroidLib
in the list and clickOK
: