Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add libraries to Xamarin References lists

Is there a place to put libraries(dlls) so they show up in the References list in a project to be selected. I know I can manually add them from my personal library, however I would like to be able to have them in the available list so all I need to do is select them. I assume there would be some way to indicate which platform they are for.

like image 233
Donald French Avatar asked Sep 06 '13 05:09

Donald French


People also ask

How do I add references to xamarin project?

To reference the Shared Project on any platform-specific application, right click the References folder of that application and select Edit References..., select the tab Projects and check the box of your Shared Project. After that, you can use any reference of that application on you Shared Project.


1 Answers

Under Edit References select .Net Assemblies and pick the dll to add to the project. When it is added the first time it will be in the references for future projects.

I went through and added my normal dlls even if not needed in the current project to get them in the reference list and then removed the extras from the that project. That way I have them available when needed.

like image 94
Donald French Avatar answered Oct 04 '22 20:10

Donald French