From 713fd3071b48c54cfd7d61263c77c0b9df5224cf Mon Sep 17 00:00:00 2001
From: MoshiMoshi0 <902882+MoshiMoshi0@users.noreply.github.com>
Date: Thu, 6 Jun 2019 11:26:22 +0200
Subject: [PATCH] Cleanup warnings (#94)
* (CS3005) Remove unused duplicate property differing only in case
* (CS3001, CS3003, CS3005) Make OpenHardwareMonitorLib not CLS compliant
* (NU5125) licenseUrl will be deprecated
* (CS0618) SecurityAction.RequestMinimum is obsolete
* "Migrated rules for Aga.Controls.ruleset" is missing
---
External/Aga.Controls/Aga.Controls.csproj | 2 +-
External/Aga.Controls/Properties/AssemblyInfo.cs | 1 -
Hardware/HDD/SmartNames.cs | 4 ----
OpenHardwareMonitorLib.csproj | 8 ++++++--
Properties/AssemblyLibInfo.cs | 1 -
5 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/External/Aga.Controls/Aga.Controls.csproj b/External/Aga.Controls/Aga.Controls.csproj
index 55323d8..5bcfd8d 100644
--- a/External/Aga.Controls/Aga.Controls.csproj
+++ b/External/Aga.Controls/Aga.Controls.csproj
@@ -55,7 +55,7 @@
true
- Migrated rules for Aga.Controls.ruleset
+ AllRules.ruleset
false
diff --git a/External/Aga.Controls/Properties/AssemblyInfo.cs b/External/Aga.Controls/Properties/AssemblyInfo.cs
index ada54b5..b65b76c 100644
--- a/External/Aga.Controls/Properties/AssemblyInfo.cs
+++ b/External/Aga.Controls/Properties/AssemblyInfo.cs
@@ -6,7 +6,6 @@ using System.Security.Permissions;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
-[assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)]
[assembly: AssemblyTitle("Aga.Controls")]
[assembly: AssemblyCopyright("Copyright © Andrey Gliznetsov 2006 - 2009")]
diff --git a/Hardware/HDD/SmartNames.cs b/Hardware/HDD/SmartNames.cs
index 07bba5a..9229842 100644
--- a/Hardware/HDD/SmartNames.cs
+++ b/Hardware/HDD/SmartNames.cs
@@ -163,10 +163,6 @@ namespace OpenHardwareMonitor.Hardware.HDD {
get { return "Load/Unload Retry Count"; }
}
- public static string MediaWearoutIndicator {
- get { return "Media Wearout Indicator"; }
- }
-
public static string MultiZoneErrorRate {
get { return "Multi-Zone Error Rate"; }
}
diff --git a/OpenHardwareMonitorLib.csproj b/OpenHardwareMonitorLib.csproj
index 9fbc0c8..f3a3b0b 100644
--- a/OpenHardwareMonitorLib.csproj
+++ b/OpenHardwareMonitorLib.csproj
@@ -1,4 +1,4 @@
-
+
net452;netstandard2.0
@@ -14,12 +14,16 @@
false
Libre Hardware Monitor contributors, Michael Möller
LibreHardwareMonitorLib
- https://github.com/LibreHardwareMonitor/LibreHardwareMonitor
+ LICENSE
https://github.com/LibreHardwareMonitor/LibreHardwareMonitor
libre open hardware monitor monitoring system logging cpu gpu
https://github.com/LibreHardwareMonitor/LibreHardwareMonitor
+
+
+
+
diff --git a/Properties/AssemblyLibInfo.cs b/Properties/AssemblyLibInfo.cs
index b9e30a7..a067cae 100644
--- a/Properties/AssemblyLibInfo.cs
+++ b/Properties/AssemblyLibInfo.cs
@@ -23,6 +23,5 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
-[assembly: CLSCompliant(true)]