WindowsAPICodePackCore 8.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package WindowsAPICodePackCore --version 8.0.5                
NuGet\Install-Package WindowsAPICodePackCore -Version 8.0.5                
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="WindowsAPICodePackCore" Version="8.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WindowsAPICodePackCore --version 8.0.5                
#r "nuget: WindowsAPICodePackCore, 8.0.5"                
#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 WindowsAPICodePackCore as a Cake Addin
#addin nuget:?package=WindowsAPICodePackCore&version=8.0.5

// Install WindowsAPICodePackCore as a Cake Tool
#tool nuget:?package=WindowsAPICodePackCore&version=8.0.5                

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 (3)

Showing the top 3 NuGet packages that depend on WindowsAPICodePackCore:

Package Downloads
WindowsAPICodePackShell

This package contains the shell binary for the Windows API Code Pack needed for Windows Forms Development in the 1.1 version, released by Microsoft in 2009. Modifications by Jacob Slusser until 2020. Modified to use .NET Frameworks 4.6.2 - 4.8.1, .NET 6, 8 and 9 and refactoring by Peter William Wagner, (aka Wagnerp) 2023 - 2024.

WindowsAPICodePackShellExtensions

This package contains extensions to the shell binary for the Windows API Code Pack needed for Windows Forms Development in the 1.1 version, released by Microsoft in 2009. Modifications by Jacob Slusser until 2020. Modified to use .NET Frameworks 4.6.2 - 4.8.1, .NET 6, 8 and 9 and refactoring by Peter William Wagner, (aka Wagnerp) 2023 - 2024.

WindowsAPICodePackSensors

This package contains the sensors binary for the Windows API Code Pack needed for Windows Forms Development in the 1.1 version, released by Microsoft in 2009. Modifications by Jacob Slusser until 2020. Modified to use .NET Frameworks 4.6.2 - 4.8.1, .NET 6, 8 and 9 and refactoring by Peter William Wagner, (aka Wagnerp) 2023 - 2024.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.6 804 10/22/2024
8.0.5 1,738 7/1/2024
8.0.4 799 6/10/2024
8.0.2 1,149 2/24/2024
8.0.1 348 2/14/2024
8.0.0 1,819 11/14/2023
7.0.4 8,205 2/26/2023
7.0.3 850 2/17/2023
7.0.2 722 2/4/2023
7.0.1 6,997 11/15/2022
7.0.0 345 11/13/2022