Skip to content

Commit dbc7fcc

Browse files
committed
Fixed TestApp
1 parent 28addb8 commit dbc7fcc

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

TestApp/App.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<configuration>
33
<startup>
44

5-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
5+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup>
66
</configuration>

TestApp/MainForm.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using Devcorner.NIdenticon;
2-
using Devcorner.NIdenticon.BrushGenerators;
1+
using NIdenticon;
2+
using NIdenticon.BrushGenerators;
33
using System;
4-
using System.Drawing;
54
using System.Windows.Forms;
65

76
namespace TestApp
@@ -41,7 +40,9 @@ private void BackgroundColorBox_Click(object sender, EventArgs e)
4140
c.Color = BackgroundColorBox.BackColor;
4241
c.FullOpen = true;
4342
if (c.ShowDialog() == DialogResult.OK)
43+
{
4444
BackgroundColorBox.BackColor = c.Color;
45+
}
4546
}
4647
}
4748
}

TestApp/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestApp/Properties/Settings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestApp/TestApp.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>TestApp</RootNamespace>
1111
<AssemblyName>TestApp</AssemblyName>
12-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile>
1515
</TargetFrameworkProfile>
@@ -36,7 +36,9 @@
3636
<Prefer32Bit>false</Prefer32Bit>
3737
</PropertyGroup>
3838
<ItemGroup>
39-
<Reference Include="System" />
39+
<Reference Include="System">
40+
<HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll</HintPath>
41+
</Reference>
4042
<Reference Include="System.Core" />
4143
<Reference Include="System.Drawing" />
4244
<Reference Include="System.Windows.Forms" />

0 commit comments

Comments
 (0)