如何将库添加到Xamarin参考列表 [英] How to add libraries to Xamarin References lists

查看:73
本文介绍了如何将库添加到Xamarin参考列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有放置库(dll)的地方,以便它们显示在要选择的项目的引用"列表中.我知道我可以从我的个人资料库中手动添加它们,但是我希望能够将它们包含在可用列表中,因此我需要做的就是选择它们.我认为将有某种方式表明它们适用于哪个平台.

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.

推荐答案

在编辑引用"下,选择.Net程序集,然后选择要添加到项目中的dll.第一次添加时,它将在以后的项目的参考中.

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.

我仔细检查并添加了我的普通dll,即使当前项目中不需要它们,也将其添加到参考列表中,然后从该项目中删除了其他文件.这样,我就可以在需要时使用它们.

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.

这篇关于如何将库添加到Xamarin参考列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆