我们可以有一个可以在不同类型的项目中使用的公共类库 [英] can we have a common class library that can be used across different types of projects
问题描述
大家好,
在visual studio中,我可以看到不同类型的类库项目,范围来自 类库,类库(适用于iOS,android,windows,xamarin)到类库(包)和类库(可移植)
In the visual studio, I can see different types of the class library projects ranging from class library, class library (for iOS, android, windows, xamarin) to class library (package) and class library (portable)
我正在尝试创建一个我想要的类库用于不同类型的项目,如Windows桌面,Windows通用应用程序,WCF项目,Web项目以及Windows以外的其他平台(iOS或Android)。我的意思是几乎所有类型
的项目,所以可以避免代码返工。
I'm trying to create a class library that I want to use across different types of projects, like Windows desktop, windows universal apps, WCF projects, web projects, and other platforms other than windows as well (iOS or android). I mean almost every type of project, so that the code rework could be avoided.
哪个类库可以用来创建一个可以在任何地方使用的项目?
Which class library can be used to create a project that can be used everywhere?
有问候
Sushant Prabhakar
Sushant Prabhakar
推荐答案
你已经提到了一个便携式类库,还不够好吗?
You've already mentioned a Portable Class Library, is that not good enough?
这篇关于我们可以有一个可以在不同类型的项目中使用的公共类库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!