本文介绍了Visual Studio中的类库和可移植类库之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio中提供了不同类型的类库,例如Silverlight类库,可移植类库和类库.这些类型之间有什么区别?如何使用File.dll文件确定类库的类型?如何将类库从自己的类型更改为另一种类型的类库?

There are different types of Class libraries available in Visual Studio such as Silverlight Class Library, Portable Class library and Class Library. What are the differences between these types? How can we determine the type of a Class library with File.dll file? How can we change a Class library from own type to another type of Class library?

推荐答案

通过 Portable Class Library 项目类型,您可以编写和构建可在多个Microsoft平台上运行的托管程序集,而正常"的 Class Library 项目类型不正确.

The Portable Class Library project type enables you to write and build managed assemblies that work on more than one Microsoft platform, whereas the "normal" Class Library project type doesn't.

"Microsoft平台"包括.NET Framework,Windows Phone,用于Windows Store Apps的.NET,Silverlight,Xbox;都有各种版本或口味.

"Microsoft platforms" include .NET Framework, Windows Phone, .NET for Windows Store Apps, Silverlight, Xbox; all in various versions or flavors.

来源

浏览,用于从一种类库转换为另一种类型. (另请参见:此相关的SO问题.)

Go through this for converting from one class library to another type. (See also: this relevant SO question.)

这篇关于Visual Studio中的类库和可移植类库之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-15 00:03