File tree Expand file tree Collapse file tree
ICSharpCode.AvalonEdit.Sample
ICSharpCode.AvalonEdit.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ jobs:
2727 assemblyVersion : ${{ env.BuildVersion }}.${{ github.run_number }}
2828 fileVersion : ${{ env.BuildVersion }}.${{ github.run_number }}
2929
30- - name : Setup .NET 3.1 (for unit tests only)
30+ - name : Setup .NET 7
3131 uses : actions/setup-dotnet@v3
3232 with :
33- dotnet-version : 3.1 .x
33+ dotnet-version : 7.0 .x
3434
35- - name : Setup .NET
35+ - name : Setup LTS .NET
3636 uses : actions/setup-dotnet@v3
3737 with :
3838 dotnet-version : 6.0.x
@@ -53,10 +53,10 @@ jobs:
5353 env :
5454 TestAssembly : ICSharpCode.AvalonEdit.Tests\bin\${{ matrix.configuration }}\net6.0-windows\ICSharpCode.AvalonEdit.Tests.dll
5555
56- - name : netcoreapp3.1 Unit Tests
56+ - name : net7.0-windows Unit Tests
5757 run : vstest.console $env:TestAssembly
5858 env :
59- TestAssembly : ICSharpCode.AvalonEdit.Tests\bin\${{ matrix.configuration }}\netcoreapp3.1 \ICSharpCode.AvalonEdit.Tests.dll
59+ TestAssembly : ICSharpCode.AvalonEdit.Tests\bin\${{ matrix.configuration }}\net7.0-windows \ICSharpCode.AvalonEdit.Tests.dll
6060
6161 - name : net462 Unit Tests
6262 run : vstest.console $env:TestAssembly
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
22 <PropertyGroup >
33 <OutputType >WinExe</OutputType >
4- <TargetFrameworks >net6.0-windows;netcoreapp3.1 ;net472</TargetFrameworks >
4+ <TargetFrameworks >net6.0-windows;net7.0-windows ;net472</TargetFrameworks >
55 <UseWPF >true</UseWPF >
66 <UseWindowsForms >true</UseWindowsForms >
77 <DefineConstants >TRACE</DefineConstants >
1717 <PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0-windows' " >
1818 <DefineConstants >TRACE</DefineConstants >
1919 </PropertyGroup >
20- <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1 ' " >
20+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net7.0-windows ' " >
2121 <DefineConstants >TRACE</DefineConstants >
2222 </PropertyGroup >
2323 <PropertyGroup Condition =" '$(TargetFramework)' == 'net472' " >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
22 <PropertyGroup >
33 <OutputType >Library</OutputType >
4- <TargetFrameworks >net6.0-windows;netcoreapp3.1 ;net462</TargetFrameworks >
4+ <TargetFrameworks >net6.0-windows;net7.0-windows ;net462</TargetFrameworks >
55 <UseWPF >true</UseWPF >
66 <UseWindowsForms >true</UseWindowsForms >
77 <DefineConstants >TRACE</DefineConstants >
1616 <PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0-windows' " >
1717 <DefineConstants >TRACE</DefineConstants >
1818 </PropertyGroup >
19- <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1 ' " >
19+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net7.0-windows ' " >
2020 <DefineConstants >TRACE</DefineConstants >
2121 </PropertyGroup >
2222 <PropertyGroup Condition =" '$(TargetFramework)' == 'net462' " >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
22 <PropertyGroup >
33 <OutputType >Library</OutputType >
4- <TargetFrameworks >net6.0-windows;netcoreapp3.1 ;net462</TargetFrameworks >
4+ <TargetFrameworks >net6.0-windows;net7.0-windows ;net462</TargetFrameworks >
55 <UseWPF >true</UseWPF >
66 <UseWindowsForms >true</UseWindowsForms >
77 <DefineConstants >TRACE</DefineConstants >
3434 <PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0-windows' " >
3535 <DefineConstants >TRACE</DefineConstants >
3636 </PropertyGroup >
37- <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1 ' " >
37+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net7.0-windows ' " >
3838 <DefineConstants >TRACE</DefineConstants >
3939 </PropertyGroup >
4040 <PropertyGroup Condition =" '$(TargetFramework)' == 'net462' " >
You can’t perform that action at this time.
0 commit comments