Werk #6189: OpenHardwareMonitorCLI did not run on some Win7 machines

KomponenteChecks & Agents
TitelOpenHardwareMonitorCLI did not run on some Win7 machines
Datum2018-05-25 08:38:26
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.6.0i1,1.5.0b6
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

OpenHardwareMonitorCLI, the executable wrapper for triggering OpenHardwareMonitor by Check_MK Windows Agent, did not run on some Win7 machines. Moreover, it was not possible to compile OpenHardwareMonitorCLI with versions 4.x of Mono (tried with Mono / XBuild 14.0). Providing the build option /p:TargetFrameworkVersion="v4.5" both fixed the build with Mono 4.x and made resulting executable compatible with all tested Windows versions (tested on Win7 and Server 2016).