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. - 1548494
Install
dotnet add package Microsoft.NETCore.Portable.Compatibility --version 1.0.1-beta-23516
Install-Package Microsoft.NETCore.Portable.Compatibility -Version 1.0.1-beta-23516
<PackageReference Include="Microsoft.NETCore.Portable.Compatibility" Version="1.0.1-beta-23516" />
Frameworks
Dependencies
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.