Skip to content

Commit 45a5d9d

Browse files
Update Framework
Update to .NET Framework 4.7.2
1 parent 03705b8 commit 45a5d9d

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

Assemblies/1SettingsHelper.dll

0 Bytes
Binary file not shown.

Source/SettingsHelper/ColourPicker/HSV.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using UnityEngine;
6-
using RimWorld;
7-
using Verse;
1+
using UnityEngine;
82

93
namespace ColourPicker
104
{

Source/SettingsHelper/SettingsHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ public static void AddColorPickerButton(this Listing_Standard listing_Standard,
191191

192192
// draw button leaving room for color rect in rightHalf rect (plus some padding)
193193
if (Widgets.ButtonText(rightPart.LeftPartPixels(textSize), buttonText))
194-
//Find.WindowStack.Add(new ColorSelectDialog(buttonText, color, selectionChange));
195194
Find.WindowStack.Add(new Dialog_ColourPicker(color, callback));
196195
GUI.color = color;
197196
// draw square with color in rightHalf rect

Source/SettingsHelper/SettingsHelper.csproj

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>SettingsHelper</RootNamespace>
1111
<AssemblyName>1SettingsHelper</AssemblyName>
12-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
1515
</PropertyGroup>
@@ -22,6 +22,7 @@
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
2424
<LangVersion>latest</LangVersion>
25+
<Prefer32Bit>false</Prefer32Bit>
2526
</PropertyGroup>
2627
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2728
<DebugType>none</DebugType>
@@ -31,10 +32,11 @@
3132
<ErrorReport>prompt</ErrorReport>
3233
<WarningLevel>4</WarningLevel>
3334
<LangVersion>latest</LangVersion>
35+
<Prefer32Bit>false</Prefer32Bit>
3436
</PropertyGroup>
3537
<ItemGroup>
3638
<Reference Include="Assembly-CSharp">
37-
<HintPath>..\..\..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
39+
<HintPath>D:\SteamLibrary\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
3840
<Private>False</Private>
3941
</Reference>
4042
<Reference Include="System" />
@@ -44,7 +46,19 @@
4446
<Reference Include="System.Data" />
4547
<Reference Include="System.Xml" />
4648
<Reference Include="UnityEngine">
47-
<HintPath>..\..\..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
49+
<HintPath>D:\SteamLibrary\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
50+
<Private>False</Private>
51+
</Reference>
52+
<Reference Include="UnityEngine.CoreModule">
53+
<HintPath>D:\SteamLibrary\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
54+
<Private>False</Private>
55+
</Reference>
56+
<Reference Include="UnityEngine.IMGUIModule">
57+
<HintPath>D:\SteamLibrary\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
58+
<Private>False</Private>
59+
</Reference>
60+
<Reference Include="UnityEngine.InputLegacyModule">
61+
<HintPath>D:\SteamLibrary\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
4862
<Private>False</Private>
4963
</Reference>
5064
</ItemGroup>

0 commit comments

Comments
 (0)