Skip to content

migrate to slnx and upgrade github actions#180

Open
WeihanLi wants to merge 2 commits intoGeneralLibrary:masterfrom
WeihanLi:slnx-support
Open

migrate to slnx and upgrade github actions#180
WeihanLi wants to merge 2 commits intoGeneralLibrary:masterfrom
WeihanLi:slnx-support

Conversation

@WeihanLi
Copy link
Copy Markdown
Contributor

  • migrate to slnx
  • upgrade github actions

Copilot AI review requested due to automatic review settings April 28, 2026 23:53
Copy link
Copy Markdown
Contributor

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

Migrates the C# solution from the legacy .sln format to the new .slnx format and updates the GitHub Actions workflow to use the new solution file while bumping action versions.

Changes:

  • Add src/c#/GeneralUpdate.slnx and remove src/c#/GeneralUpdate.sln.
  • Update CI to restore/build using the .slnx solution file.
  • Bump GitHub Actions used in the publishing workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/c#/GeneralUpdate.slnx Introduces the new .slnx solution definition for src + tests.
src/c#/GeneralUpdate.sln Removes the old Visual Studio .sln solution file.
.github/workflows/dotnet-ci.yaml Updates solution path to .slnx and upgrades referenced GitHub Actions versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/c#/GeneralUpdate.slnx
<Project Path="BowlTest/BowlTest.csproj" />
<Project Path="ClientCoreTest/ClientCoreTest.csproj" />
<Project Path="CoreTest/CoreTest.csproj" />
<Project Path="DifferentialTest/DifferentialTest.csproj" />
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

The solution includes several test projects under /tests/, but DrivelutionTest/DrivelutionTest.csproj (present in src/c#/DrivelutionTest/) is not listed. This means dotnet build/IDE solution load will skip that test project, reducing compile/test coverage. Consider adding it to the /tests/ folder in the .slnx.

Suggested change
<Project Path="DifferentialTest/DifferentialTest.csproj" />
<Project Path="DifferentialTest/DifferentialTest.csproj" />
<Project Path="DrivelutionTest/DrivelutionTest.csproj" />

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is migrated from the original solution file via dotnet sln migrate, so I think the DrivelutionTest/DrivelutionTest.csproj project should not be added to follow original solution

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is migrated from the original solution file via dotnet sln migrate, so I think the DrivelutionTest/DrivelutionTest.csproj project should not be added to follow original solution

It is necessary to create a separate .slnx file for test?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

DrivelutionTest/DrivelutionTest.csproj is not included in the original solution file, so the updated slnx also did not include the project either.
We could include it in the slnx if needed, did not not include it so far to keep it same as before.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

DrivelutionTest/DrivelutionTest.csproj is not included in the original solution file, so the updated slnx also did not include the project either.DrivelutionTest/DrivelutionTest.csproj 未包含在原始解答文件中,因此更新后的 SLNX 也未包含该项目。 We could include it in the slnx if needed, did not not include it so far to keep it same as before.如果需要,我们可以把它写进 SLNX,但之前没写,就是为了保持之前的效果。

sure

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.

3 participants