Skip to content

Commit 49d2a69

Browse files
committed
feat!: target .net10
1 parent be6183d commit 49d2a69

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

ICSharpCode.TextEditor.Sample/ICSharpCode.TextEditor.Sample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net9.0-windows</TargetFramework>
5+
<TargetFramework>net10.0-windows</TargetFramework>
66
<UseWindowsForms>true</UseWindowsForms>
77
</PropertyGroup>
88

Project/GlobalSuppressions.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// This file is used by Code Analysis to maintain SuppressMessage
2+
// attributes that are applied to this project.
3+
// Project-level suppressions either have no target or are given
4+
// a specific target and scoped to a namespace, type, member, etc.
5+
6+
using System.Diagnostics.CodeAnalysis;
7+
8+
[assembly: SuppressMessage("Style", "IDE0008:Use explicit type", Justification = "<Pending>")]

Project/ICSharpCode.TextEditor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Library</OutputType>
5-
<TargetFramework>net9.0-windows</TargetFramework>
5+
<TargetFramework>net10.0-windows</TargetFramework>
66
<UseWindowsForms>true</UseWindowsForms>
77
<DeterministicSourcePaths Condition="'$(EnableSourceLink)' == ''">false</DeterministicSourcePaths>
88
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>

Project/Src/Gui/CompletionWindow/AbstractCompletionWindow.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ protected void TextEditorLostFocus(object sender, EventArgs e)
162162
Close();
163163
}
164164

165-
protected override void OnClosed(EventArgs e)
165+
protected override void OnFormClosed(FormClosedEventArgs e)
166166
{
167-
base.OnClosed(e);
167+
base.OnFormClosed(e);
168168

169169
// take out the inserted methods
170170
parentForm.LocationChanged -= ParentFormLocationChanged;
@@ -204,4 +204,4 @@ protected void ControlMouseMove(object sender, MouseEventArgs e)
204204
control.ActiveTextAreaControl.TextArea.ShowHiddenCursor(forceShow: false);
205205
}
206206
}
207-
}
207+
}

Test/ICSharpCode.TextEditor.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Library</OutputType>
55
<OutputPath>..\..\..\..\bin\UnitTests</OutputPath>
6-
<TargetFramework>net9.0-windows</TargetFramework>
6+
<TargetFramework>net10.0-windows</TargetFramework>
77
<UseWindowsForms>true</UseWindowsForms>
88
</PropertyGroup>
99

0 commit comments

Comments
 (0)