diff --git a/UnitTest-ColorPickerUI/UnitTest-ColorPickerUI.csproj b/UnitTest-ColorPickerUI/UnitTest-ColorPickerUI.csproj
index c30008a5ac..041eed126e 100644
--- a/UnitTest-ColorPickerUI/UnitTest-ColorPickerUI.csproj
+++ b/UnitTest-ColorPickerUI/UnitTest-ColorPickerUI.csproj
@@ -5,7 +5,7 @@
UnitTest_ColorPickerUI
false
enable
- 9.0
+ 8.0
Library
diff --git a/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj b/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj
index ae47ea9fdc..3eef221bc0 100644
--- a/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj
+++ b/src/modules/colorPicker/ColorPickerUI/ColorPickerUI.csproj
@@ -62,7 +62,7 @@
DEBUG;TRACE
full
x64
- 9.0
+ 8.0
prompt
MinimumRecommendedRules.ruleset
true
@@ -73,7 +73,7 @@
true
pdbonly
x64
- 9.0
+ 8.0
prompt
MinimumRecommendedRules.ruleset
true
diff --git a/src/modules/colorPicker/ColorPickerUI/Helpers/ColorHelper.cs b/src/modules/colorPicker/ColorPickerUI/Helpers/ColorHelper.cs
index 0c528b7755..44f547fc5b 100644
--- a/src/modules/colorPicker/ColorPickerUI/Helpers/ColorHelper.cs
+++ b/src/modules/colorPicker/ColorPickerUI/Helpers/ColorHelper.cs
@@ -28,7 +28,7 @@ namespace ColorPicker.Helpers
{
return (color.GetHue(), 0d, lightness);
}
- else if (lightness is > 0d and <= 0.5d)
+ else if (lightness > 0d && lightness <= 0.5d)
{
return (color.GetHue(), (max - min) / (max + min), lightness);
}
diff --git a/src/modules/imageresizer/ui/ImageResizerUI.csproj b/src/modules/imageresizer/ui/ImageResizerUI.csproj
index e94aa10651..58cfebf3b8 100644
--- a/src/modules/imageresizer/ui/ImageResizerUI.csproj
+++ b/src/modules/imageresizer/ui/ImageResizerUI.csproj
@@ -50,7 +50,6 @@
Resources.Designer.cs
Designer
-