Skip to content

Upgrade to .NET 10 SDK and update libraries#511

Merged
runceel merged 5 commits intomainfrom
update-to-dotnet10
Nov 15, 2025
Merged

Upgrade to .NET 10 SDK and update libraries#511
runceel merged 5 commits intomainfrom
update-to-dotnet10

Conversation

@runceel
Copy link
Owner

@runceel runceel commented Oct 5, 2025

@runceel runceel self-assigned this Oct 5, 2025
@runceel runceel added the dependencies Pull requests that update a dependency file label Oct 5, 2025
@runceel runceel marked this pull request as draft October 5, 2025 08:43
- Add Directory.Packages.props to centrally manage NuGet package versions
- Remove Version attributes from all PackageReference elements across projects
- Update Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0
- Enable ManagePackageVersionsCentrally property
- Consolidate package version management for Core, Platform (WPF/Blazor), and Test projects

This change improves maintainability by managing all package versions in a single location.

パッケージバージョンの中央管理を導入

すべてのプロジェクトファイルから`<PackageReference>`の`Version`属性を削除し、`Directory.Packages.props`ファイルを追加してパッケージバージョンを一元管理しました。これにより、`ManagePackageVersionsCentrally`プロパティが有効になり、依存関係のバージョン管理が簡素化されました。また、`Microsoft.SourceLink.GitHub`のバージョン指定も削除されました。
@runceel runceel requested a review from Copilot October 16, 2025 02:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the project to use Central Package Management (CPM) by introducing a Directory.Packages.props file, which centralizes all NuGet package version definitions. The key changes include removing version specifications from individual project files and consolidating them in the new central location, along with updating several package versions.

Key changes:

  • Introduced Directory.Packages.props with centralized package version management
  • Removed version attributes from all <PackageReference> elements across project files
  • Updated several package versions (e.g., Microsoft.NET.Test.Sdk to 18.0.0, System.Reactive to 6.1.0)

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Directory.Packages.props New file defining all package versions centrally with CPM enabled
Source/Directory.Build.props Removed version from Microsoft.SourceLink.GitHub reference
Source/ReactiveProperty.Core/ReactiveProperty.Core.csproj Removed version from System.ComponentModel.Annotations and obsolete SourceLink update
Source/ReactiveProperty.NETStandard/ReactiveProperty.NETStandard.csproj Removed versions from package references and obsolete SourceLink update
Source/ReactiveProperty.Platform.Blazor/ReactiveProperty.Platform.Blazor.csproj Removed version from AspNetCore.Components.Web and obsolete SourceLink update
Source/ReactiveProperty.Platform.WPF/ReactiveProperty.Platform.WPF.csproj Removed version from Xaml.Behaviors.Wpf and obsolete SourceLink update
Test/ReactiveProperty.Blazor.Tests/ReactiveProperty.Blazor.Tests.csproj Removed versions from all test-related package references
Test/ReactiveProperty.NETStandard.Tests/ReactiveProperty.NETStandard.Tests.csproj Removed versions from all test-related package references
Test/ReactiveProperty.WPF.Tests/ReactiveProperty.WPF.Tests.csproj Removed versions from all test-related package references

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

プロジェクト全体のターゲットフレームワークを`net10.0`に更新。
依存関係のバージョン指定を簡素化し、条件付きバージョンを追加。
新しいパッケージ(`MahApps.Metro`、`Prism.Unity`、`Prism.Wpf`)を導入。
ソリューションファイル形式を`.slnx`に移行し、フォルダ構造を整理。
名前空間変更(`Prism.Regions`→`Prism.Navigation.Regions`)を適用。
@runceel runceel marked this pull request as ready for review November 15, 2025 04:03
@runceel runceel merged commit a5c6d1d into main Nov 15, 2025
1 check passed
@runceel runceel deleted the update-to-dotnet10 branch November 15, 2025 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants