Commit 3ac3b09
Migrate to .slnx solution file using dotnet sln migrate (#207)
This PR migrates the repository to use the new `.slnx` (XML-based
solution) file format for improved compatibility with modern .NET
tooling and Visual Studio.
## Changes
- Generated `EssentialCSharp.ListingManager.slnx` using the `dotnet sln
migrate` command
- Removed the legacy `EssentialCSharp.ListingManager.sln` file to avoid
CI/CD ambiguity errors when multiple solution files are present
## Benefits
The `.slnx` format is a new XML-based solution file format introduced in
.NET 9 that provides:
- Cleaner, more readable XML structure
- Better diff-ability in version control
- Forward compatibility with future .NET tooling
- Interoperability with Visual Studio 2022 and later versions
- Resolves CI/CD workflow errors caused by having multiple solution
files
## Verification
The `.slnx` file has been tested and works correctly:
```bash
# Restore, build, and test all work with the .slnx file
dotnet restore
dotnet build
dotnet test
# List projects in the solution
dotnet sln EssentialCSharp.ListingManager.slnx list
```
The `.slnx` file contains the same two projects and solution items as
the original `.sln` file:
- `ListingManager/EssentialCSharp.ListingManager.csproj`
- `ListingManager.Tests/EssentialCSharp.ListingManager.Tests.csproj`
- Solution Items (Directory.Build.props, Directory.Packages.props,
NuGet.config, README.md)
Resolves the requirement to migrate to the new solution format.
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
> run `dotnet sln migrate`
(https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln#migrate)
to add in a .slnx file to live alongside our .sln file for now (.sln for
backwards compatibility for now)
</details>
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>1 parent a6385b9 commit 3ac3b09
2 files changed
Lines changed: 15 additions & 56 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments