diff --git a/ColorControl/ColorControl.csproj b/ColorControl/ColorControl.csproj index 620f600..6fe1787 100644 --- a/ColorControl/ColorControl.csproj +++ b/ColorControl/ColorControl.csproj @@ -18,8 +18,8 @@ Maassoft Maassoft 0 - 9.6.1.0 - 9.6.1.0 + 9.6.1.1 + 9.6.1.1 false true false diff --git a/Nspector/Common/Meta/ConstantSettingMetaService.cs b/Nspector/Common/Meta/ConstantSettingMetaService.cs index 522296a..43960b4 100644 --- a/Nspector/Common/Meta/ConstantSettingMetaService.cs +++ b/Nspector/Common/Meta/ConstantSettingMetaService.cs @@ -1,9 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using nspector.Native.NvApi.DriverSettings; +using nspector.Native.NvApi.DriverSettings; using nspector.Native.NVAPI2; +using System.Reflection; namespace nspector.Common.Meta { diff --git a/Shared/Common/Utils.cs b/Shared/Common/Utils.cs index 713b1f0..cd82637 100644 --- a/Shared/Common/Utils.cs +++ b/Shared/Common/Utils.cs @@ -609,7 +609,6 @@ The best and suggested method to provide this is via a Windows Service. Only whe public static bool TaskExists(string taskName) { - var file = Assembly.GetExecutingAssembly().Location; using (TaskService ts = new TaskService()) { var task = ts.RootFolder.Tasks.FirstOrDefault(x => x.Name.Equals(taskName)); @@ -837,7 +836,7 @@ The best and suggested method to provide this is via a Windows Service. Only whe { resourceName = "ColorControl.Resources." + resourceName; - var assembly = Assembly.GetExecutingAssembly(); + var assembly = Assembly.GetEntryAssembly(); using (Stream stream = assembly.GetManifestResourceStream(resourceName)) using (StreamReader reader = new StreamReader(stream))