Microsoft.Windows.Compatibility
5.0.0
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard.
When using NuGet 3.x this package requires at least version 3.4.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package Microsoft.Windows.Compatibility -Version 5.0.0
dotnet add package Microsoft.Windows.Compatibility --version 5.0.0
<PackageReference Include="Microsoft.Windows.Compatibility" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Windows.Compatibility --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
https://go.microsoft.com/fwlink/?LinkID=799421
Dependencies
-
.NETCoreApp 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- Microsoft.Win32.Registry.AccessControl (>= 5.0.0)
- Microsoft.Win32.SystemEvents (>= 5.0.0)
- Microsoft.Windows.Compatibility.Shims (>= 2.0.1)
- System.CodeDom (>= 5.0.0)
- System.ComponentModel.Composition (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Data.DataSetExtensions (>= 4.5.0)
- System.Data.Odbc (>= 5.0.0)
- System.Data.OleDb (>= 5.0.0)
- System.Data.SqlClient (>= 4.8.1)
- System.Diagnostics.EventLog (>= 5.0.0)
- System.Diagnostics.PerformanceCounter (>= 5.0.0)
- System.DirectoryServices (>= 5.0.0)
- System.DirectoryServices.AccountManagement (>= 5.0.0)
- System.DirectoryServices.Protocols (>= 5.0.0)
- System.Drawing.Common (>= 5.0.0)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.IO.Packaging (>= 5.0.0)
- System.IO.Pipes.AccessControl (>= 5.0.0)
- System.IO.Ports (>= 5.0.0)
- System.Management (>= 5.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Runtime.Caching (>= 5.0.0)
- System.Security.AccessControl (>= 5.0.0)
- System.Security.Cryptography.Cng (>= 5.0.0)
- System.Security.Cryptography.Pkcs (>= 5.0.0)
- System.Security.Cryptography.ProtectedData (>= 5.0.0)
- System.Security.Cryptography.Xml (>= 5.0.0)
- System.Security.Permissions (>= 5.0.0)
- System.Security.Principal.Windows (>= 5.0.0)
- System.ServiceModel.Duplex (>= 4.7.0)
- System.ServiceModel.Http (>= 4.7.0)
- System.ServiceModel.NetTcp (>= 4.7.0)
- System.ServiceModel.Primitives (>= 4.7.0)
- System.ServiceModel.Security (>= 4.7.0)
- System.ServiceModel.Syndication (>= 5.0.0)
- System.ServiceProcess.ServiceController (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
- System.Threading.AccessControl (>= 5.0.0)
-
.NETCoreApp 2.1
- Microsoft.Win32.Registry (>= 5.0.0)
- Microsoft.Win32.Registry.AccessControl (>= 5.0.0)
- Microsoft.Win32.SystemEvents (>= 5.0.0)
- System.CodeDom (>= 5.0.0)
- System.ComponentModel.Composition (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Data.DataSetExtensions (>= 4.5.0)
- System.Data.Odbc (>= 5.0.0)
- System.Data.OleDb (>= 5.0.0)
- System.Data.SqlClient (>= 4.8.1)
- System.Diagnostics.EventLog (>= 5.0.0)
- System.Diagnostics.PerformanceCounter (>= 5.0.0)
- System.DirectoryServices (>= 5.0.0)
- System.DirectoryServices.AccountManagement (>= 5.0.0)
- System.DirectoryServices.Protocols (>= 5.0.0)
- System.Drawing.Common (>= 5.0.0)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.IO.Packaging (>= 5.0.0)
- System.IO.Pipes.AccessControl (>= 5.0.0)
- System.IO.Ports (>= 5.0.0)
- System.Management (>= 5.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Runtime.Caching (>= 5.0.0)
- System.Security.AccessControl (>= 5.0.0)
- System.Security.Cryptography.Cng (>= 5.0.0)
- System.Security.Cryptography.Pkcs (>= 5.0.0)
- System.Security.Cryptography.ProtectedData (>= 5.0.0)
- System.Security.Cryptography.Xml (>= 5.0.0)
- System.Security.Permissions (>= 5.0.0)
- System.Security.Principal.Windows (>= 5.0.0)
- System.ServiceModel.Duplex (>= 4.7.0)
- System.ServiceModel.Http (>= 4.7.0)
- System.ServiceModel.NetTcp (>= 4.7.0)
- System.ServiceModel.Primitives (>= 4.7.0)
- System.ServiceModel.Security (>= 4.7.0)
- System.ServiceModel.Syndication (>= 5.0.0)
- System.ServiceProcess.ServiceController (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
- System.Threading.AccessControl (>= 5.0.0)
-
.NETCoreApp 3.0
- Microsoft.Win32.Registry (>= 5.0.0)
- Microsoft.Win32.Registry.AccessControl (>= 5.0.0)
- Microsoft.Win32.SystemEvents (>= 5.0.0)
- System.CodeDom (>= 5.0.0)
- System.ComponentModel.Composition (>= 5.0.0)
- System.ComponentModel.Composition.Registration (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Data.DataSetExtensions (>= 4.5.0)
- System.Data.Odbc (>= 5.0.0)
- System.Data.OleDb (>= 5.0.0)
- System.Data.SqlClient (>= 4.8.1)
- System.Diagnostics.EventLog (>= 5.0.0)
- System.Diagnostics.PerformanceCounter (>= 5.0.0)
- System.DirectoryServices (>= 5.0.0)
- System.DirectoryServices.AccountManagement (>= 5.0.0)
- System.DirectoryServices.Protocols (>= 5.0.0)
- System.Drawing.Common (>= 5.0.0)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.IO.Packaging (>= 5.0.0)
- System.IO.Pipes.AccessControl (>= 5.0.0)
- System.IO.Ports (>= 5.0.0)
- System.Management (>= 5.0.0)
- System.Reflection.Context (>= 5.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Runtime.Caching (>= 5.0.0)
- System.Security.AccessControl (>= 5.0.0)
- System.Security.Cryptography.Cng (>= 5.0.0)
- System.Security.Cryptography.Pkcs (>= 5.0.0)
- System.Security.Cryptography.ProtectedData (>= 5.0.0)
- System.Security.Cryptography.Xml (>= 5.0.0)
- System.Security.Permissions (>= 5.0.0)
- System.Security.Principal.Windows (>= 5.0.0)
- System.ServiceModel.Duplex (>= 4.7.0)
- System.ServiceModel.Http (>= 4.7.0)
- System.ServiceModel.NetTcp (>= 4.7.0)
- System.ServiceModel.Primitives (>= 4.7.0)
- System.ServiceModel.Security (>= 4.7.0)
- System.ServiceModel.Syndication (>= 5.0.0)
- System.ServiceProcess.ServiceController (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
- System.Threading.AccessControl (>= 5.0.0)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- Microsoft.Win32.Registry.AccessControl (>= 5.0.0)
- Microsoft.Win32.SystemEvents (>= 5.0.0)
- System.CodeDom (>= 5.0.0)
- System.ComponentModel.Composition (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Data.DataSetExtensions (>= 4.5.0)
- System.Data.Odbc (>= 5.0.0)
- System.Data.OleDb (>= 5.0.0)
- System.Data.SqlClient (>= 4.8.1)
- System.Diagnostics.EventLog (>= 5.0.0)
- System.Diagnostics.PerformanceCounter (>= 5.0.0)
- System.DirectoryServices (>= 5.0.0)
- System.DirectoryServices.AccountManagement (>= 5.0.0)
- System.DirectoryServices.Protocols (>= 5.0.0)
- System.Drawing.Common (>= 5.0.0)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.IO.Packaging (>= 5.0.0)
- System.IO.Pipes.AccessControl (>= 5.0.0)
- System.IO.Ports (>= 5.0.0)
- System.Management (>= 5.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Runtime.Caching (>= 5.0.0)
- System.Security.AccessControl (>= 5.0.0)
- System.Security.Cryptography.Cng (>= 5.0.0)
- System.Security.Cryptography.Pkcs (>= 5.0.0)
- System.Security.Cryptography.ProtectedData (>= 5.0.0)
- System.Security.Cryptography.Xml (>= 5.0.0)
- System.Security.Permissions (>= 5.0.0)
- System.Security.Principal.Windows (>= 5.0.0)
- System.ServiceModel.Duplex (>= 4.7.0)
- System.ServiceModel.Http (>= 4.7.0)
- System.ServiceModel.NetTcp (>= 4.7.0)
- System.ServiceModel.Primitives (>= 4.7.0)
- System.ServiceModel.Security (>= 4.7.0)
- System.ServiceModel.Syndication (>= 5.0.0)
- System.ServiceProcess.ServiceController (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
- System.Threading.AccessControl (>= 5.0.0)
-
.NETStandard 2.1
- Microsoft.Win32.Registry (>= 5.0.0)
- Microsoft.Win32.Registry.AccessControl (>= 5.0.0)
- Microsoft.Win32.SystemEvents (>= 5.0.0)
- System.CodeDom (>= 5.0.0)
- System.ComponentModel.Composition (>= 5.0.0)
- System.ComponentModel.Composition.Registration (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Data.DataSetExtensions (>= 4.5.0)
- System.Data.Odbc (>= 5.0.0)
- System.Data.OleDb (>= 5.0.0)
- System.Data.SqlClient (>= 4.8.1)
- System.Diagnostics.EventLog (>= 5.0.0)
- System.Diagnostics.PerformanceCounter (>= 5.0.0)
- System.DirectoryServices (>= 5.0.0)
- System.DirectoryServices.AccountManagement (>= 5.0.0)
- System.DirectoryServices.Protocols (>= 5.0.0)
- System.Drawing.Common (>= 5.0.0)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.IO.Packaging (>= 5.0.0)
- System.IO.Pipes.AccessControl (>= 5.0.0)
- System.IO.Ports (>= 5.0.0)
- System.Management (>= 5.0.0)
- System.Reflection.Context (>= 5.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Runtime.Caching (>= 5.0.0)
- System.Security.AccessControl (>= 5.0.0)
- System.Security.Cryptography.Cng (>= 5.0.0)
- System.Security.Cryptography.Pkcs (>= 5.0.0)
- System.Security.Cryptography.ProtectedData (>= 5.0.0)
- System.Security.Cryptography.Xml (>= 5.0.0)
- System.Security.Permissions (>= 5.0.0)
- System.Security.Principal.Windows (>= 5.0.0)
- System.ServiceModel.Duplex (>= 4.7.0)
- System.ServiceModel.Http (>= 4.7.0)
- System.ServiceModel.NetTcp (>= 4.7.0)
- System.ServiceModel.Primitives (>= 4.7.0)
- System.ServiceModel.Security (>= 4.7.0)
- System.ServiceModel.Syndication (>= 5.0.0)
- System.ServiceProcess.ServiceController (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
- System.Threading.AccessControl (>= 5.0.0)
Used By
NuGet packages (132)
Showing the top 5 NuGet packages that depend on Microsoft.Windows.Compatibility:
Package | Downloads |
---|---|
Microsoft.PowerShell.SDK
Runtime for hosting PowerShell
|
|
Rollbar
Rollbar collects errors that happen in your application, notifies you, and analyzes them so you can debug and fix them.
|
|
DiffEngine
Launches diff tools based on file extensions. Designed to be consumed by snapshot testing libraries.
|
|
Alachisoft.NCache.SDK
This NCache SDK NuGet package is a complete package for using NCache Enterprise from .NET Framework and .NET Core applications.
|
|
Dapplo.Windows.Common
Dapplo.Windows.Common is a library which contains common files for Dapplo.Windows projects
|
GitHub repositories (28)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Windows.Compatibility:
Repository | Stars |
---|---|
PowerShell/PowerShell
PowerShell for every system!
|
|
rocksdanister/lively
Free and open-source software that allows users to set animated and interactive desktop wallpapers.
|
|
Caliburn-Micro/Caliburn.Micro
A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
|
|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
thepirat000/Audit.NET
An extensible framework to audit executing operations in .NET and .NET Core.
|
Version History
Version | Downloads | Last updated |
---|---|---|
5.0.1 | 1,564 | 1/12/2021 |
5.0.0 | 223,882 | 11/9/2020 |
5.0.0-rc.2.20475.5 | 6,137 | 10/13/2020 |
5.0.0-rc.1.20451.14 | 3,544 | 9/14/2020 |
5.0.0-preview.8.20407.11 | 2,625 | 8/25/2020 |
5.0.0-preview.7.20364.11 | 11,510 | 7/21/2020 |
5.0.0-preview.6.20305.6 | 2,797 | 6/25/2020 |
5.0.0-preview.5.20278.1 | 3,406 | 6/10/2020 |
5.0.0-preview.4.20251.6 | 5,556 | 5/18/2020 |
5.0.0-preview.3.20214.6 | 4,556 | 4/23/2020 |
5.0.0-preview.2.20160.6 | 342 | 4/2/2020 |
5.0.0-preview.1.20120.5 | 370 | 3/16/2020 |
3.1.1 | 257,933 | 8/11/2020 |
3.1.0 | 1,022,510 | 12/3/2019 |
3.1.0-preview3.19551.4 | 630 | 11/13/2019 |
3.1.0-preview2.19523.17 | 3,644 | 11/1/2019 |
3.1.0-preview1.19504.10 | 7,679 | 10/15/2019 |
3.0.1 | 27,608 | 11/18/2019 |
3.0.0 | 163,396 | 9/23/2019 |
3.0.0-rc1.19456.4 | 2,977 | 9/16/2019 |
3.0.0-preview9.19421.4 | 1,683 | 9/4/2019 |
3.0.0-preview9.19416.11 | 128 | 9/4/2019 |
3.0.0-preview8.19405.3 | 3,863 | 8/13/2019 |
3.0.0-preview7.19362.9 | 5,815 | 7/23/2019 |
3.0.0-preview6.19303.8 | 25,780 | 6/12/2019 |
3.0.0-preview6.19264.9 | 128 | 9/4/2019 |
3.0.0-preview5.19224.8 | 3,702 | 5/6/2019 |
3.0.0-preview4.19212.13 | 1,233 | 4/18/2019 |
2.1.1 | 559,906 | 5/14/2019 |
2.1.0-preview3.19128.7 | 5,092 | 3/6/2019 |
2.1.0-preview.19073.11 | 11,625 | 1/29/2019 |
2.1.0-preview.18571.3 | 7,702 | 12/3/2018 |
2.0.1 | 2,101,459 | 8/21/2018 |
2.0.0 | 484,626 | 5/29/2018 |
2.0.0-rc1 | 18,970 | 5/6/2018 |
2.0.0-preview2-26406-04 | 9,931 | 4/10/2018 |
2.0.0-preview1-26216-02 | 14,076 | 2/26/2018 |
2.0.0-preview1-25914-04 | 90,284 | 11/15/2017 |