Skip to content

Conversation

@igor-tkachev
Copy link
Owner

No description provided.

@igor-tkachev igor-tkachev requested a review from Copilot July 17, 2025 01:33
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 modernizes the project structure by centralizing package management and updating build configurations. The changes migrate from a traditional Visual Studio solution file to a modern .slnx format while consolidating package versions and build properties into Directory.Build.props and Directory.Packages.props files.

  • Centralized package version management using Directory.Packages.props
  • Moved common build properties to Directory.Build.props for inheritance across all projects
  • Updated to .NET 9.0 and modernized build scripts to use dotnet CLI

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Tests/Linq.Expressions.Deconstruct.Tests.csproj Removed explicit package versions and build properties (now inherited)
SourceGenerators/ToExprGenerator.cs Added nullable annotations to method signature and null-forgiving operators
SourceGenerators/SourceGenerators.csproj Removed explicit package versions and build properties
Source/Linq.Expressions.Deconstruct.csproj Removed explicit package versions and build properties
Linq.Expressions.Deconstruct.slnx Added new XML-based solution file format
Linq.Expressions.Deconstruct.sln Removed traditional solution file
Directory.Packages.props Added centralized package version management
Directory.Build.props Added common build properties for all projects
Build.cmd Updated build script to use dotnet CLI instead of MSBuild
.github/workflows/dotnet.yml Updated .NET version to 9.0.x and simplified workflow

cd /d "%~dp0"
"%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" Linq.Expressions.Deconstruct.sln /p:Configuration=Release /t:Restore;Rebuild /v:m
"%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" Linq.Expressions.Deconstruct.sln /p:Configuration=Debug /t:Restore;Rebuild /v:m
cd /d "%~dp0"
Copy link

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

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

The build script retains the old MSBuild approach in comments but doesn't remove them. Consider removing the commented lines to avoid confusion about which build approach to use.

Copilot uses AI. Check for mistakes.
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x
Copy link

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

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

Updating to .NET 9.0.x may introduce compatibility issues since your knowledge cutoff is January 2025 and it's now June 2025. Consider verifying that all dependencies and target frameworks are compatible with .NET 9.0.

Suggested change
dotnet-version: 9.0.x
dotnet-version: 9.0.x
- name: Verify compatibility
run: dotnet list package --outdated

Copilot uses AI. Check for mistakes.
@igor-tkachev igor-tkachev merged commit d89c18d into master Jul 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants