Commit 1058af9
Add .slnx file for .NET 9+ compatibility alongside existing .sln file (#162)
This PR adds a modern XML-based solution file (`.slnx`) to the
repository using the `dotnet solution migrate` command, as requested in
the issue. The `.slnx` format is the new solution file format introduced
in .NET 9 SDK.
## Changes
- Generated `IntelliTect.Multitool.slnx` using `dotnet solution migrate
IntelliTect.Multitool.sln`
- The existing `IntelliTect.Multitool.sln` file is retained for
backwards compatibility with older versions of Visual Studio and .NET
SDK
## Benefits
The `.slnx` format provides several advantages over the traditional
`.sln` format:
- **Human-readable XML structure** - easier to understand and parse
- **Better for version control** - cleaner diffs and merge conflicts
- **Modern format** - aligned with .NET 9+ tooling
## Compatibility
Both solution files now coexist in the repository:
- **`.sln` file** - maintains compatibility with .NET 8 SDK, Visual
Studio 2022, and earlier versions
- **`.slnx` file** - provides modern solution format for .NET 9+ SDK and
future Visual Studio versions
The repository continues to build successfully with .NET 8 SDK, ensuring
no breaking changes for existing workflows.
## References
- [Microsoft Documentation: dotnet sln
migrate](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln#migrate)
<!-- 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] <[email protected]>
Co-authored-by: BenjaminMichaelis <[email protected]>1 parent 399ad08 commit 1058af9
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments