WindowsAPICodePack 8.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package WindowsAPICodePack --version 8.0.4                
NuGet\Install-Package WindowsAPICodePack -Version 8.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WindowsAPICodePack" Version="8.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WindowsAPICodePack --version 8.0.4                
#r "nuget: WindowsAPICodePack, 8.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WindowsAPICodePack as a Cake Addin
#addin nuget:?package=WindowsAPICodePack&version=8.0.4

// Install WindowsAPICodePack as a Cake Tool
#tool nuget:?package=WindowsAPICodePack&version=8.0.4                

Microsoft Windows API Codepack

README

Current Version

License

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

This release has the latest bug fixes applied, including the fix for 64-bit exceptions.

Bugs

When you submit a bug:

  • provide a short example code showing the bug
  • describe the expected behavior/result
  • if a pull request is applicable, please reference it

Pull Requests

I'll be glad to accept pull requests if they fix a bug or add a worthwhile feature.

Usage notes

TaskDialog

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.

DirectX

The DirectX package will work under x86 and x64 configuration platforms but not for AnyCPU platform (because there is no such platform for C++/CLI projects). Consequently, the package will purposefully fail the build and tell you why it did.

Note: package is here for historical reasons, it is highly recommended to use SharpDX instead.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows7.0 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on WindowsAPICodePack:

Package Downloads
io.github.toyota32k.wpfLittleToolkit

a little library for WPF application.

KH.WPFBase

InstrumentBaseLib

Scar.Common.Installer.UI

A common MVVM UI for the installers

MentorServiceLib-102

Common library for MSC (MentorServiceClient) and its WCF service; compiled for Mentor Version VX.2.10

MentorServiceLib-90

Common library for MSC (MentorServiceClient) and its WCF service; compiled for Mentor Version VX.2.7

GitHub repositories (12)

Showing the top 5 popular GitHub repositories that depend on WindowsAPICodePack:

Repository Stars
JosefNemec/Playnite
Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
LiveSplit/LiveSplit
A sleek, highly customizable timer for speedrunners.
Valkirie/HandheldCompanion
ControllerService
VladislavAntonyuk/MauiSamples
.NET MAUI Samples
T0biasCZe/AdbFileManager
Fast Android <-> Windows file manager using ADB protocol
Version Downloads Last updated
8.0.6 2,981 10/24/2024
8.0.4 30,215 6/10/2024
7.0.4 115,998 2/26/2023
7.0.3 8,646 2/17/2023
7.0.2 2,943 2/4/2023
7.0.1 16,861 11/15/2022
1.1.3 16,711 6/25/2022
1.1.2 82,254 6/22/2021
1.1.1 114,612 1/21/2020
1.1.0 318,638 3/5/2015