Skip to content

Migrate pure-C# solutions to slnx and remove legacy vcxproj files - #461

Merged
ikkentim merged 4 commits into
masterfrom
copilot/migrate-to-slnx-cleanup-solutions
Apr 30, 2026
Merged

Migrate pure-C# solutions to slnx and remove legacy vcxproj files#461
ikkentim merged 4 commits into
masterfrom
copilot/migrate-to-slnx-cleanup-solutions

Conversation

Copilot AI commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Migrates both pure-C# solution files to the newer XML-based .slnx format and removes the legacy MSVC project files that are now superseded by CMake.

Solution migration

  • Converted SampSharp.slnSampSharp.slnx and src/legacy/SampSharp.slnsrc/legacy/SampSharp.Legacy.slnx via dotnet sln migrate
  • Stripped leftover C++ platform configs (Mixed Platforms, Win32) from the legacy slnx
  • Renamed corresponding .DotSettings files to match new solution filenames
  • Added Directory.Packages.props as a solution item in both SampSharp.slnx and SampSharp.Legacy.slnx

Deleted files

  • src/legacy/SampSharp.Plugin.sln — redundant, CMake is the build system now
  • src/legacy/SampSharp/SampSharp.vcxproj + .vcxproj.filters — same reason

Build/CI updates

  • build.cmd / build.sh: all dotnet build/pack SampSharp.sln calls updated to SampSharp.slnx / SampSharp.Legacy.slnx
  • .github/workflows/dotnet-component.yml: path filter updated from SampSharp.slnSampSharp.slnx

Copilot AI linked an issue Apr 30, 2026 that may be closed by this pull request
Agent-Logs-Url: https://github.com/ikkentim/SampSharp/sessions/c52a8c19-8e99-4d86-be74-5e837ddc3a5c

Co-authored-by: ikkentim <2820647+ikkentim@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate pure-C# solutions to slnx and clean up Migrate pure-C# solutions to slnx and remove legacy vcxproj files Apr 30, 2026
Copilot AI requested a review from ikkentim April 30, 2026 15:55

@ikkentim ikkentim left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Rename the legacy solution SampSharp.Legacy

Agent-Logs-Url: https://github.com/ikkentim/SampSharp/sessions/d24e3568-200f-4535-91d2-7ef037ae3f95

Co-authored-by: ikkentim <2820647+ikkentim@users.noreply.github.com>

Copilot AI commented Apr 30, 2026

Copy link
Copy Markdown
Contributor Author

Rename the legacy solution SampSharp.Legacy

Done in 406ce3a. Renamed src/legacy/SampSharp.slnxsrc/legacy/SampSharp.Legacy.slnx (and its .DotSettings file), and updated the references in build.cmd and build.sh.

Copilot AI requested a review from ikkentim April 30, 2026 16:51

@ikkentim ikkentim left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

On master branch, Directory.Packages.props were added in root and src/legacy. Add them as items to their respective slnx files

Copilot AI commented Apr 30, 2026

Copy link
Copy Markdown
Contributor Author

On master branch, Directory.Packages.props were added in root and src/legacy. Add them as items to their respective slnx files

Done in 48e1fb7. Added Directory.Packages.props to the /Solution Items/ folder in SampSharp.slnx and to the /build/ folder in SampSharp.Legacy.slnx.

Copilot AI requested a review from ikkentim April 30, 2026 17:00
@ikkentim
ikkentim marked this pull request as ready for review April 30, 2026 17:00
@ikkentim
ikkentim merged commit 9962ec1 into master Apr 30, 2026
6 checks passed
@ikkentim
ikkentim deleted the copilot/migrate-to-slnx-cleanup-solutions branch April 30, 2026 17:54
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.

Migrate to slnx and clean up solutions

2 participants