NuGet Package Microsoft.NETCore.Portable.Compatibility

Enables compatiblity with portable libraries targeting previous .NET releases like .NET Framework 4.0 and Silverlight.
This package supports retargeting references to classic reference assemblies (mscorlib.dll, system.dll, etc) to new contract assemblies (System.Runtime.dll, System.IO, etc).

It does this in a pay-for-play way to prevent consuming assemblies from having to reference all of the contracts that happen to overlap with mscorlib. As such, when using this package you may encounter errors like
error CS0012: The type 'WebRequest' is defined in an assembly that is not referenced.

You must add a reference to assembly 'System.Net.Requests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
To resolve these errors install the package with the same name name as the missing assembly.
TFS ID: 1612576, GitHub SHA: https://github.com/dotnet/corefx/tree/f47c814b003d17da52940739e227f04e52b10279
When using NuGet 3.x this package requires at least version 3.4.

Info

Version: 1.0.1
Author(s): Microsoft
Last Update: Monday, June 27, 2016
.NET Fiddle: Online Example
Project Url: https://dot.net/
NuGet Url: https://www.nuget.org/packages/Microsoft.NETCore.Portable.Compatibility


Install
Install-Package Microsoft.NETCore.Portable.Compatibility
dotnet add package Microsoft.NETCore.Portable.Compatibility
paket add Microsoft.NETCore.Portable.Compatibility
Microsoft.NETCore.Portable.Compatibility Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5
  • No dependencies.
.NETStandard 1.0 netcore50 win8
  • No dependencies.
wp8
  • No dependencies.
wpa81
  • No dependencies.
471 packages depend on this package.




STATS

must-have-score

3

avg-downloads-per-day

3766

days-since-last-release

1083