From 8dec9d5fe9008a563c6c99a1aa9a0c3700a19530 Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Mon, 17 Aug 2020 13:13:45 -0700 Subject: [PATCH] Fixing color picker warnings and enabling warnings as errors (#6006) --- src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj | 7 +++++++ src/modules/colorPicker/ColorPickerUI/Mouse/MouseHook.cs | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj b/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj index 4249e31b1b..213742aca3 100644 --- a/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj +++ b/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj @@ -78,6 +78,13 @@ MinimumRecommendedRules.ruleset true + + true + + + + true + Resources\icon.ico diff --git a/src/modules/colorPicker/ColorPickerUI/Mouse/MouseHook.cs b/src/modules/colorPicker/ColorPickerUI/Mouse/MouseHook.cs index 00517fc261..c77d0c8d10 100644 --- a/src/modules/colorPicker/ColorPickerUI/Mouse/MouseHook.cs +++ b/src/modules/colorPicker/ColorPickerUI/Mouse/MouseHook.cs @@ -2,12 +2,11 @@ // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using ColorPicker.Helpers; using System; -using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows.Input; +using ColorPicker.Helpers; using static ColorPicker.Win32Apis; namespace ColorPicker.Mouse