Skip to content

Commit 9f29b88

Browse files
committed
feat: support for .net 9.0.
1 parent 3a4d937 commit 9f29b88

File tree

14 files changed

+33
-18
lines changed

14 files changed

+33
-18
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ body:
3030
attributes:
3131
label: NuGet package version
3232
options:
33+
- "HandyControl 3.5.1"
34+
- "HandyControl 3.5.0"
3335
- "HandyControl 3.4.0"
3436
- "HandyControl 3.3.0"
3537
- "HandyControl 3.2.0"
@@ -58,10 +60,14 @@ body:
5860
description: please specify for which framework type you have encountered the issue.
5961
multiple: true
6062
options:
63+
- ".Net 9.0"
64+
- ".Net 8.0"
65+
- ".Net 7.0"
6166
- ".Net 6.0"
6267
- ".Net 5.0"
6368
- ".Net Core 3.1"
6469
- ".Net Core 3.0"
70+
- ".Net Framework 4.8.1"
6571
- ".Net Framework 4.8"
6672
- ".Net Framework 4.7.2"
6773
- ".Net Framework 4.7.1"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup .NET Core SDK
1515
uses: actions/setup-dotnet@v4
1616
with:
17-
dotnet-version: '8.0.x'
17+
dotnet-version: '9.0.x'
1818

1919
- name: Build
2020
working-directory: ./build

.github/workflows/bump-up-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup .NET Core SDK
2323
uses: actions/setup-dotnet@v4
2424
with:
25-
dotnet-version: '8.0.x'
25+
dotnet-version: '9.0.x'
2626

2727
- name: Publish
2828
working-directory: ./build

.github/workflows/dotnet-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET Core SDK
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: '8.0.x'
22+
dotnet-version: '9.0.x'
2323

2424
# 代码文件编码规范机器人,详细请看 [dotnet 在 GitHub 的 Action 上部署自动代码编码规范机器人](https://blog.lindexi.com/post/dotnet-%E5%9C%A8-GitHub-%E7%9A%84-Action-%E4%B8%8A%E9%83%A8%E7%BD%B2%E8%87%AA%E5%8A%A8%E4%BB%A3%E7%A0%81%E7%BC%96%E7%A0%81%E8%A7%84%E8%8C%83%E6%9C%BA%E5%99%A8%E4%BA%BA.html)
2525
- name: Install dotnetCampus.EncodingNormalior

.github/workflows/push-to-myget.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup .NET Core SDK
1515
uses: actions/setup-dotnet@v4
1616
with:
17-
dotnet-version: '8.0.x'
17+
dotnet-version: '9.0.x'
1818

1919
- name: setup nuget.exe
2020
uses: NuGet/[email protected]
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
cd build
2626
.\build.ps1
27-
nuget pack build-for-myget.nuspec -version 3.5.0-beta.${env:GITHUB_RUN_NUMBER}
27+
nuget pack build-for-myget.nuspec -version 3.7.0-beta.${env:GITHUB_RUN_NUMBER}
2828
$nupkgName = @(gci *.nupkg)[0].Name
2929
$mygetSourcePath = "https://www.myget.org/F/handycontrol"
3030
nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright © HandyOrg 2018-2024
3+
Copyright © HandyOrg 2018-2025
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

build/VisualStudioToolsManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<Item Type="HandyControl.Controls.ColorPicker" />
2020
<Item Type="HandyControl.Controls.ComboBox" />
2121
<Item Type="HandyControl.Controls.CompareSlider" />
22+
<Item Type="HandyControl.Controls.ConfettiCannon" />
2223
<Item Type="HandyControl.Controls.ContextMenuButton" />
2324
<Item Type="HandyControl.Controls.ContextMenuToggleButton" />
2425
<Item Type="HandyControl.Controls.CoverFlow" />

build/build.config.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<outputsFolder>outputs</outputsFolder>
33
<tasks>
44
<task framework="net40" target=".NETFramework4.0" outputsFolder="net40" configuration="Release-Net40" domain="Net_40" buildLib="true" buildDemo="true"/>
5-
<!-- <task framework="net45" target=".NETFramework4.5" outputsFolder="net45" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
5+
<task framework="net45" target=".NETFramework4.5" outputsFolder="net45" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
66
<task framework="net451" target=".NETFramework4.5.1" outputsFolder="net451" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
77
<task framework="net452" target=".NETFramework4.5.2" outputsFolder="net452" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
88
<task framework="net46" target=".NETFramework4.6" outputsFolder="net46" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
@@ -18,6 +18,7 @@
1818
<task framework="net5.0-windows" target="net5.0" outputsFolder="net5.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
1919
<task framework="net6.0-windows" target="net6.0" outputsFolder="net6.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
2020
<task framework="net7.0-windows" target="net7.0" outputsFolder="net7.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
21-
<task framework="net8.0-windows" target="net8.0" outputsFolder="net8.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/> -->
21+
<task framework="net8.0-windows" target="net8.0" outputsFolder="net8.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
22+
<task framework="net9.0-windows" target="net9.0" outputsFolder="net9.0" configuration="Release" domain="Net_GE45" buildLib="true" buildDemo="true"/>
2223
</tasks>
2324
</config>

src/.run/HandyControlDemo_Net_GE45.run.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="HandyControlDemo_Net_GE45" type="DotNetProject" factoryName=".NET Project">
3-
<option name="EXE_PATH" value="$PROJECT_DIR$/Net_GE45/HandyControlDemo_Net_GE45/bin/Debug/net8.0-windows/HandyControlDemo.exe" />
3+
<option name="EXE_PATH" value="$PROJECT_DIR$/Net_GE45/HandyControlDemo_Net_GE45/bin/Debug/net9.0-windows/HandyControlDemo.exe" />
44
<option name="PROGRAM_PARAMETERS" value="" />
5-
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/Net_GE45/HandyControlDemo_Net_GE45/bin/Debug/net8.0-windows" />
5+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/Net_GE45/HandyControlDemo_Net_GE45/bin/Debug/net9.0-windows" />
66
<option name="PASS_PARENT_ENVS" value="1" />
77
<option name="USE_EXTERNAL_CONSOLE" value="0" />
8+
<option name="ENV_FILE_PATHS" value="" />
9+
<option name="REDIRECT_INPUT_PATH" value="" />
10+
<option name="PTY_MODE" value="Auto" />
811
<option name="USE_MONO" value="0" />
912
<option name="RUNTIME_ARGUMENTS" value="" />
13+
<option name="AUTO_ATTACH_CHILDREN" value="0" />
14+
<option name="MIXED_MODE_DEBUG" value="0" />
1015
<option name="PROJECT_PATH" value="$PROJECT_DIR$/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj" />
1116
<option name="PROJECT_EXE_PATH_TRACKING" value="1" />
1217
<option name="PROJECT_ARGUMENTS_TRACKING" value="1" />
1318
<option name="PROJECT_WORKING_DIRECTORY_TRACKING" value="1" />
1419
<option name="PROJECT_KIND" value="DotNetCore" />
15-
<option name="PROJECT_TFM" value="net8.0-windows" />
20+
<option name="PROJECT_TFM" value="net9.0-windows" />
1621
<method v="2">
1722
<option name="Build" />
1823
</method>

src/Directory.Build.Props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<FileVersion>3.5.2.0</FileVersion>
66
<AssemblyVersion>3.5.2.0</AssemblyVersion>
77
<LangVersion>latest</LangVersion>
8-
<Copyright>Copyright © HandyOrg 2018-2024</Copyright>
8+
<Copyright>Copyright © HandyOrg 2018-2025</Copyright>
99
<Authors>HandyOrg</Authors>
1010
<RepositoryUrl>https://github.com/HandyOrg/HandyControl</RepositoryUrl>
1111
<PackageProjectUrl>https://handyorg.github.io/</PackageProjectUrl>

0 commit comments

Comments
 (0)