可以在.net核心应用程序中引用可移植库 [英] Possible to Refer portable library in .net core Application

查看:62
本文介绍了可以在.net核心应用程序中引用可移植库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

我创建了.netcore Web应用程序,并创建了一个类库(适用于ios,Android和Windows的Portable)。我正在尝试将库引用到我的应用程序中,在引用它之后显示如下图像。现在我正在尝试访问库类,
但我无法访问。任何受抚养人都应包含此内容吗?

I have created .netcore Web application, and created a class library(Portable for ios, Android, and windows). I am trying to refer the library into my application, after referring it is showing like below image. Now i'm trying to access the library classes, but i could not able to access. Any dependent should include for this?

 

project.json中使用的代码片段如下。 

Code snippet used in the project.json is below. 

可以在.netcore Web应用程序中引用便携式lib吗?如果是,请建议解决我的问题的任何解决方案。如果不可能意味着哪个库适合xamarin和.net核心?

It is possible to refer the portable lib in .netcore Web application? If yes please suggest some any solution for resolving my problem. If it is not possible means, which library suits both for xamarin and .net core?

谢谢,

Narendran

Narendran

推荐答案

嗨..

以下链接帮助我解决了我的问题

The below link helped me resolve my problem

http://www.intstrings.com/ramivemula/articles/create-and-consume-a-net-standard-library-in-net-framework-and-net-core -applications /

http://www.intstrings.com/ramivemula/articles/create-and-consume-a-net-standard-library-in-net-framework-and-net-core-applications/

谢谢,

Narendran

Narendran


这篇关于可以在.net核心应用程序中引用可移植库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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