如何在visual studio中添加依赖项 [英] how to add dependencies in visual studio
问题描述
我是Android新手,我正在开发视觉工作室的应用程序,我正在尝试使用日历库。
< p style ="padding-right:0px; font-size:15px; line-height:inherit; font-family:Arial,'Helvetica Neue',Helvetica,sans-serif; vertical-align:baseline; clear:both; color :#242729">
在安装部分,他们告诉我在build.gradle中添加依赖项
我相信构建.gradle在xamarin工作室
任何人都知道我在视觉工作室如何做到这一点?
我看过的每个其他库都有相同的安装步骤
任何帮助表示赞赏
嗨Mortalty,
欢迎来到MSDN论坛。
请参阅你的描述,我想你看的是Android Studio的错误指南,而不是Visual Studio。
据我所知,Android Studio使用build.gradle来添加依赖项。在Visual Studio中,我们可以右键单击解决方案/项目名称并选择"管理
Nuget包 ..."并在"浏览"选项卡下搜索使用相关关键字,然后选择要安装的关键字。
如果你想绑定一个java库,请查看这个文档:
绑定Java库
由于我们的论坛是讨论VS IDE,有关更多详细的开发问题,请重定向到这个适当的论坛:
https://forums.xamarin.com/ 寻求更好的支持,感谢您的理解。
最好的问候,
萨拉跨度>
I'm new to android and i'm developing an app in visual studio, and i'm trying to use a Calendar Library.
in the Installation part they're telling me to add a dependency in my build.gradle
And i believe that build.gradle is in xamarin studio
Anyone knows how i can do that in visual studio?
Also every other library i looked at had the same Installation steps
any help is appreciated
Hi Mortalty,
Welcome to the MSDN forum.
Refer to your description, I suppose you are looking the wrong guide for the Android Studio, not for the Visual Studio.
As far as I know, the Android Studio used the build.gradle to add dependency. In Visual Studio, we can right click the solution/project name and choose "Manage Nuget Packages…" and under Browse tab, search with the related keyword, then choose the right one to install.
If you want to binding a java library, please check this document: Binding a Java Library
Since our forum is to discuss the VS IDE, for more detail development issues, please redirect to this appropriate forum: https://forums.xamarin.com/ to seek for a better support, thank you for your understanding.
Best regards,
Sara
这篇关于如何在visual studio中添加依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!