Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.x
9.x
10.x
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

Expand All @@ -59,8 +59,8 @@ jobs:
- name: Minimize all windows
run: (New-Object -ComObject "Shell.Application").minimizeall()

- name: Test net8.0
run: dotnet test --framework net8.0-windows --no-build --verbosity normal --configuration ${{ env.configuration }} --blame-crash --blame-crash-collect-always --blame-hang --blame-hang-timeout 5m
- name: Test net10.0
run: dotnet test --framework net10.0-windows --no-build --verbosity normal --configuration ${{ env.configuration }} --blame-crash --blame-crash-collect-always --blame-hang --blame-hang-timeout 5m

- name: Test net9.0
run: dotnet test --framework net9.0-windows --no-build --verbosity normal --configuration ${{ env.configuration }} --blame-crash --blame-crash-collect-always --blame-hang --blame-hang-timeout 5m
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Nullable>enable</Nullable>
<WarningsAsErrors>true</WarningsAsErrors>
<AnalysisLevel>5</AnalysisLevel>
<LangVersion>12.0</LangVersion>
<LangVersion>14.0</LangVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageVersion Include="Microsoft.VisualStudio.Interop" Version="17.14.40260" />
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.264" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.10.4" />
<PackageVersion Include="MSTest.TestFramework" Version="3.10.4" />
<PackageVersion Include="MSTest.TestAdapter" Version="4.0.2" />
<PackageVersion Include="MSTest.TestFramework" Version="4.0.2" />
<PackageVersion Include="PInvoke.User32" Version="0.7.124" />
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageVersion Include="System.Drawing.Common" Version="9.0.5" />
<PackageVersion Include="System.CommandLine" Version="2.0.1" />
<PackageVersion Include="System.Drawing.Common" Version="10.0.1" />
<PackageVersion Include="xunit" Version="2.6.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.4" />
<PackageVersion Include="Xunit.StaFact" Version="1.1.11" />
Expand Down
2 changes: 1 addition & 1 deletion XAMLTest.TestApp/XAMLTest.TestApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net8.0-windows;net9.0-windows</TargetFrameworks>
<TargetFrameworks>net10.0-windows;net9.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
<IsPackable>false</IsPackable>
<DeterministicSourcePaths Condition="'$(EnableSourceLink)' == ''">false</DeterministicSourcePaths>
Expand Down
2 changes: 1 addition & 1 deletion XAMLTest.Tests/GetCoordinatesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static async Task ClassInitialize(TestContext context)
Window = await App.CreateWindowWithContent(@"<Border />");
}

[ClassCleanup(ClassCleanupBehavior.EndOfClass)]
[ClassCleanup(Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior.BeforeEachDerivedClass)]
public static async Task ClassCleanup()
{
if (App is { } app)
Expand Down
2 changes: 1 addition & 1 deletion XAMLTest.Tests/GetEffectiveBackgroundTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static async Task ClassInitialize(TestContext context)
Window = await App.CreateWindowWithContent(@"");
}

[ClassCleanup(ClassCleanupBehavior.EndOfClass)]
[ClassCleanup(Microsoft.VisualStudio.TestTools.UnitTesting.InheritanceBehavior.BeforeEachDerivedClass)]
public static async Task TestCleanup()
{
if (App is { } app)
Expand Down
Loading
Loading