Porting a portable class library to the new DNX shared library?

I am really confused about the new SDK for creating Dot Net Execution and the new cross platform application / library common library form.

I have portable class libraries and I planned to use them in Mono environment (and maybe xamarin in the future). I chose PCL over regular CL because it seemed logical for more compatibility.

In Visual Studio 2015 and DNX, there seems to be more emphasis on cross platform support. However, there doesn't seem to be any way to configure 4.6 in PCL; Is this depreciating and should we move on to a new .net core method?

So I'm wondering if I can, or even upgrade my PCLs to DNX shared libraries, are they compatible with Mono?

Are these DNX compilation libraries compiled to work in a DNX environment?

+3


source to share


2 answers


PCL support for .NET Framework 4.6 and .NET Core will be released soon along with Visual Studio Tools for Windows 10. This version will add targets for UWP, .NET 4.6, and Asp.NET 5.0.

You should feel free to continue using Portable Class Libraries to write single library libraries.



DNX-based class libraries are useful when you need to write platform specific code and create a different binary for each structure you want to target.

+2


source


Portable Class Library support for ".NET Framework 4.6" and "ASP.NET Core 5.0" is included in RTM for Visual Studio 2015. You need to install additional "Tools and Windows SDK 10.0.10240" hidden under "Universal Application Development Tools Windows ".



+1


source







All Articles