![]() |
VOOZH | about |
dotnet add package WindowsAPICodePackSensors --version 8.0.15.2
NuGet\Install-Package WindowsAPICodePackSensors -Version 8.0.15.2
<PackageReference Include="WindowsAPICodePackSensors" Version="8.0.15.2" />
<PackageVersion Include="WindowsAPICodePackSensors" Version="8.0.15.2" />Directory.Packages.props
<PackageReference Include="WindowsAPICodePackSensors" />Project file
paket add WindowsAPICodePackSensors --version 8.0.15.2
#r "nuget: WindowsAPICodePackSensors, 8.0.15.2"
#:package WindowsAPICodePackSensors@8.0.15.2
#addin nuget:?package=WindowsAPICodePackSensors&version=8.0.15.2Install as a Cake Addin
#tool nuget:?package=WindowsAPICodePackSensors&version=8.0.15.2Install as a Cake Tool
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.
This release has the latest bug fixes applied, including the fix for 64-bit exceptions.
When you submit a bug:
I'll be glad to accept pull requests if they fix a bug or add a worthwhile feature.
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 net8.0-windows7.0 is compatible. net9.0-windows net9.0-windows was computed. net9.0-windows7.0 net9.0-windows7.0 is compatible. net10.0-windows net10.0-windows was computed. net10.0-windows7.0 net10.0-windows7.0 is compatible. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 is compatible. net471 net471 is compatible. net472 net472 is compatible. net48 net48 is compatible. net481 net481 is compatible. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.15.2 | 71 | 5/13/2026 |
| 8.0.15.1 | 96 | 4/2/2026 |
| 8.0.15 | 77 | 4/1/2026 |
| 8.0.14 | 248 | 12/7/2025 |
| 8.0.12 | 195 | 11/2/2025 |
| 8.0.11 | 101 | 10/18/2025 |
| 8.0.10 | 125 | 10/17/2025 |
| 8.0.9 | 161 | 8/15/2025 |
| 8.0.8 | 175 | 12/24/2024 |
| 8.0.6 | 190 | 10/22/2024 |
| 8.0.5 | 177 | 7/1/2024 |
| 8.0.4 | 165 | 6/10/2024 |
| 8.0.2 | 189 | 2/24/2024 |
| 8.0.1 | 179 | 2/14/2024 |
| 8.0.0 | 204 | 11/14/2023 |
| 7.0.4 | 425 | 2/26/2023 |
| 7.0.3 | 361 | 2/17/2023 |
| 7.0.2 | 374 | 2/4/2023 |
| 7.0.1 | 465 | 11/15/2022 |
| 7.0.0 | 473 | 11/13/2022 |