WinCopies.WindowsAPICodePack.Win32Native.Consts 2.0.0-preview1

.NET Core 3.0 .NET Framework 4.7.2
Suggested Alternatives


This is a prerelease version of WinCopies.WindowsAPICodePack.Win32Native.Consts.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package WinCopies.WindowsAPICodePack.Win32Native.Consts -Version 2.0.0-preview1
dotnet add package WinCopies.WindowsAPICodePack.Win32Native.Consts --version 2.0.0-preview1
<PackageReference Include="WinCopies.WindowsAPICodePack.Win32Native.Consts" Version="2.0.0-preview1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WinCopies.WindowsAPICodePack.Win32Native.Consts --version 2.0.0-preview1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WinCopies.WindowsAPICodePack.Win32Native.Consts, 2.0.0-preview1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WinCopies.WindowsAPICodePack.Win32Native.Consts as a Cake Addin
#addin nuget:?package=WinCopies.WindowsAPICodePack.Win32Native.Consts&version=2.0.0-preview1&prerelease

// Install WinCopies.WindowsAPICodePack.Win32Native.Consts as a Cake Tool
#tool nuget:?package=WinCopies.WindowsAPICodePack.Win32Native.Consts&version=2.0.0-preview1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Windows-API-Code-Pack 2.0.0-preview1



See LICENCE for the original licence (retrieved from WebArchive). The library is not developed anymore by Microsoft and seems to have been left as 'free to use'. A clarification or update about the licence terms from Microsoft is welcome, however.

Release notes

See CHANGELOG for latest changes.


When you submit a bug:

  • provide a short example code showing the bug
  • describe the expected behavior/result

Usage notes


If you get the following exception when you instantiate a TaskDialog:

An unhandled exception of type 'System.NotSupportedException' occurred in Microsoft.WindowsAPICodePack.dll

Additional information: TaskDialog feature needs to load version 6 of comctl32.dll but a different version is current loaded in memory.

To fix it, create an application manifest and un-comment the following block section:


Note: you might have to restart Visual Studio as the DLLs seems to be cached in memory and rebuilding your project doesn't seem to be enough in some cases.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Framework net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-preview6 1,241 5/1/2020
2.0.0-preview5 486 4/25/2020
2.0.0-preview4 323 4/25/2020
2.0.0-preview3 526 4/24/2020
2.0.0-preview2 626 3/28/2020
2.0.0-preview1 525 3/19/2020