Skip to content

Commit aa09a2f

Browse files
authored
Add .NET 9 support and update dependencies (#814)
Added .NET 9.0 target frameworks to main and test projects, updated ReactiveUI and other NuGet package versions, and refreshed copyright year to 2025. Also included .NET 9 API approval test file and updated solution and stylecop configuration.
1 parent c76d8c0 commit aa09a2f

38 files changed

+316
-43
lines changed

src/ReactiveUI.Validation.AndroidX/Extensions/ViewForExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 .NET Foundation and Contributors. All rights reserved.
1+
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
22
// Licensed to the .NET Foundation under one or more agreements.
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.

src/ReactiveUI.Validation.AndroidX/ReactiveUI.Validation.AndroidX.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0-android</TargetFrameworks>
4+
<TargetFrameworks>net8.0-android;net9.0-android</TargetFrameworks>
55
<PackageDescription>Provides ReactiveUI.Validation extensions for the AndroidX Library</PackageDescription>
66
<PackageId>ReactiveUI.Validation.AndroidX</PackageId>
77
<NoWarn>$(NoWarn);CS1591</NoWarn>
88
<Nullable>enable</Nullable>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="ReactiveUI.AndroidX" Version="20.4.1" />
12+
<PackageReference Include="ReactiveUI.AndroidX" Version="21.0.1" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

src/ReactiveUI.Validation.Tests/API/ApiApprovalTests.ValidationProject.DotNet9_0.verified.txt

Lines changed: 272 additions & 0 deletions
Large diffs are not rendered by default.

src/ReactiveUI.Validation.Tests/ReactiveUI.Validation.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<NoWarn>$(NoWarn);1591;CA1707;SA1633</NoWarn>
66
</PropertyGroup>
77

@@ -10,13 +10,13 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
1414
<PackageReference Include="xunit" Version="2.9.3" />
1515
<PackageReference Include="xunit.runner.console" Version="2.9.3" />
1616
<PackageReference Include="Xunit.StaFact" Version="1.2.69" />
17-
<PackageReference Include="Microsoft.Reactive.Testing" Version="6.0.1" />
17+
<PackageReference Include="Microsoft.Reactive.Testing" Version="6.0.2" />
1818
<PackageReference Include="PublicApiGenerator" Version="11.4.6" />
19-
<PackageReference Include="Verify.Xunit" Version="30.7.3" />
19+
<PackageReference Include="Verify.Xunit" Version="30.10.0" />
2020
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
2121
<PackageReference Include="coverlet.msbuild" Version="6.0.4">
2222
<PrivateAssets>all</PrivateAssets>

src/ReactiveUI.Validation.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# 17
3+
# Visual Studio Version 17
44
VisualStudioVersion = 17.9.34728.123
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReactiveUI.Validation", "ReactiveUI.Validation\ReactiveUI.Validation.csproj", "{B62AABD0-22A4-470D-B6EB-F6B3EAE668DE}"
@@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1414
Directory.build.props = Directory.build.props
1515
Directory.build.targets = Directory.build.targets
1616
global.json = global.json
17+
..\README.md = ..\README.md
1718
stylecop.json = stylecop.json
1819
..\version.json = ..\version.json
1920
EndProjectSection

src/ReactiveUI.Validation/Abstractions/IValidatableViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 .NET Foundation and Contributors. All rights reserved.
1+
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
22
// Licensed to the .NET Foundation under one or more agreements.
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.

src/ReactiveUI.Validation/Collections/ArrayValidationText.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 .NET Foundation and Contributors. All rights reserved.
1+
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
22
// Licensed to the .NET Foundation under one or more agreements.
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.

src/ReactiveUI.Validation/Collections/IValidationText.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 .NET Foundation and Contributors. All rights reserved.
1+
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
22
// Licensed to the .NET Foundation under one or more agreements.
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.

src/ReactiveUI.Validation/Collections/ReadOnlyDisposableCollection{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 .NET Foundation and Contributors. All rights reserved.
1+
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
22
// Licensed to the .NET Foundation under one or more agreements.
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.

src/ReactiveUI.Validation/Collections/SingleValidationText.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 .NET Foundation and Contributors. All rights reserved.
1+
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
22
// Licensed to the .NET Foundation under one or more agreements.
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.

0 commit comments

Comments
 (0)