瀏覽代碼

Minor code cleanup

Nick Babcock 6 年之前
父節點
當前提交
580afff058
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 1 5
      OhmGraphite/IGiveSensors.cs
  2. 4 0
      OhmGraphite/OhmGraphite.csproj

+ 1 - 5
OhmGraphite/IGiveSensors.cs

@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Collections.Generic;
 
 namespace OhmGraphite
 {

+ 4 - 0
OhmGraphite/OhmGraphite.csproj

@@ -39,6 +39,10 @@
     <PackageReference Include="MSBuildTasks" Version="1.5.0.235" />
   </ItemGroup>
   <ItemGroup>
+    <!-- May need to add in "AdditionalProperties="TargetFramework=net461"" or something
+         like that in the future as errors arising from Hidl library about not being
+         compatible with netstandard 2.0 is annoying (but doesn't break the build).
+         For inspiration, see: https://stackoverflow.com/a/48530388/433785 -->
     <ProjectReference Include="..\LibreHardwareMonitor\OpenHardwareMonitorLib.csproj" />
   </ItemGroup>
   <ItemGroup>