1,658,419

Downloads

480,260

Downloads of v 1.0.1

2,202

Average downloads per day

2016-06-27

Last published

Share on Social Networks

Microsoft.NETCore.Portable.Compatibility

1.0.1

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.

To install Microsoft.NETCore.Portable.Compatibility, run the following command in the Package Manager Console

Install-Package Microsoft.NETCore.Portable.Compatibility -Version 1.0.1

Requires NuGet 2.12 or higher.

Release Notes

https://go.microsoft.com/fwlink/?LinkID=799417

Owners

Authors

Microsoft

Copyright

© Microsoft Corporation. All rights reserved.

Dependencies

Version History

Version Downloads Last updated
Microsoft.NETCore... 1.0.1 (this version) 480,260 Monday, June 27, 2016
Microsoft.NETCore... 1.0.1-rc2-24027 15,486 Monday, May 16, 2016
Microsoft.NETCore... 1.0.1-beta-23516 68,395 Wednesday, November 18, 2015
Microsoft.NETCore... 1.0.1-beta-23409 278 Thursday, October 15, 2015
Microsoft.NETCore... 1.0.1-beta-23225 1,186 Tuesday, September 1, 2015
Microsoft.NETCore... 1.0.0 735,187 Wednesday, July 29, 2015
Microsoft.NETCore... 1.0.0-beta-23109 137 Monday, July 27, 2015
Microsoft.NETCore... 1.0.0-beta-23019 150 Tuesday, June 30, 2015