WinCopies.WindowsAPICodePack.Sensors 2.0.0-preview1

This is a prerelease version of WinCopies.WindowsAPICodePack.Sensors.
There is a newer version of this package available.
See the version list below for details.
dotnet add package WinCopies.WindowsAPICodePack.Sensors --version 2.0.0-preview1                
NuGet\Install-Package WinCopies.WindowsAPICodePack.Sensors -Version 2.0.0-preview1                
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="WinCopies.WindowsAPICodePack.Sensors" 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.Sensors --version 2.0.0-preview1                
#r "nuget: WinCopies.WindowsAPICodePack.Sensors, 2.0.0-preview1"                
#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 WinCopies.WindowsAPICodePack.Sensors as a Cake Addin
#addin nuget:?package=WinCopies.WindowsAPICodePack.Sensors&version=2.0.0-preview1&prerelease

// Install WinCopies.WindowsAPICodePack.Sensors as a Cake Tool
#tool nuget:?package=WinCopies.WindowsAPICodePack.Sensors&version=2.0.0-preview1&prerelease                

Windows-API-Code-Pack 2.0.0-preview1

README

Licence

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.

Bugs

When you submit a bug:

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

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.11.0-preview 160 7/23/2022
3.10.0-preview 156 5/11/2022
3.4.0-preview 215 8/16/2021
3.1.2-preview 239 5/24/2021
3.0.1-preview 214 2/4/2021
3.0.0-preview 289 12/18/2020
2.12.0.1 523 7/23/2022
2.12.0 397 7/23/2022 2.12.0 is deprecated because it has critical bugs.
2.11.0 410 5/11/2022
2.6.0-preview 217 8/16/2021
2.3.0 374 5/24/2021
2.1.1 335 2/4/2021
2.1.0 389 12/16/2020
2.0.1 438 7/14/2020
2.0.0-preview6 337 5/1/2020
2.0.0-preview3 315 4/24/2020
2.0.0-preview2 435 3/28/2020
2.0.0-preview1 356 3/19/2020