Skip to content

Commit 5ec9cbf

Browse files
Migrate to slnx (#344)
This change migrates the project to use the new slnx format. See [here](https://devblogs.microsoft.com/dotnet/introducing-slnx-support-dotnet-cli/) and [here](https://devblogs.microsoft.com/visualstudio/new-simpler-solution-file-format/) for more details. Essentially, I just: ```powershell dotnet sln migrate rm ./slnup.sln ``` As there is no header information in this file anymore (that i'm aware of), this may very well render the SlnUp project unnecessary, but it also begs the question as to how the Visual Studio Version Selector will be able to do its job. To be continued...
1 parent 03a0d7c commit 5ec9cbf

File tree

3 files changed

+36
-108
lines changed

3 files changed

+36
-108
lines changed

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"dotnet.defaultSolution": "slnup.sln"
2+
"dotnet.defaultSolution": "slnup.slnx"
33
}

slnup.sln

-107
This file was deleted.

slnup.slnx

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<Solution>
2+
<Folder Name="/Solution Items/">
3+
<File Path=".editorconfig" />
4+
<File Path=".gitattributes" />
5+
<File Path=".gitignore" />
6+
<File Path="Directory.Build.props" />
7+
<File Path="Directory.Packages.props" />
8+
<File Path="global.json" />
9+
<File Path="nuget.config" />
10+
<File Path="README.md" />
11+
<File Path="version.json" />
12+
</Folder>
13+
<Folder Name="/Solution Items/src/">
14+
<File Path="src/.editorconfig" />
15+
<File Path="src/Directory.Build.props" />
16+
<File Path="src/Directory.Packages.props" />
17+
</Folder>
18+
<Folder Name="/Solution Items/tests/">
19+
<File Path="tests/.editorconfig" />
20+
<File Path="tests/Directory.Build.props" />
21+
<File Path="tests/Directory.Packages.props" />
22+
</Folder>
23+
<Folder Name="/Tests/">
24+
<Project Path="tests/SlnUp.Core.Tests/SlnUp.Core.Tests.csproj" />
25+
<Project Path="tests/SlnUp.Json.Tests/SlnUp.Json.Tests.csproj" />
26+
<Project Path="tests/SlnUp.TestLibrary/SlnUp.TestLibrary.csproj" />
27+
<Project Path="tests/SlnUp.Tests/SlnUp.Tests.csproj" />
28+
</Folder>
29+
<Folder Name="/Tools/">
30+
<Project Path="src/VisualStudio.VersionScraper/VisualStudio.VersionScraper.csproj" />
31+
</Folder>
32+
<Project Path="src/SlnUp.Core/SlnUp.Core.csproj" />
33+
<Project Path="src/SlnUp.Json/SlnUp.Json.csproj" />
34+
<Project Path="src/SlnUp/SlnUp.csproj" />
35+
</Solution>

0 commit comments

Comments
 (0)