Skip to content

Commit 8510806

Browse files
committed
Migrates to .slnx solution file format
Updates the project to use the new .slnx solution file format, replacing the old .sln format. This change improves solution loading times and provides a cleaner, more structured approach to managing project dependencies, especially as the project grows. The .gitignore and .gitattributes files are updated to reflect the new file extension. The build workflows are also updated to use the new solution file.
1 parent cb8fe45 commit 8510806

13 files changed

+117
-492
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
# Custom for Visual Studio
55
*.cs diff=csharp
6-
*.sln merge=union
6+
*.slnx merge=union
77
*.csproj merge=union

.github/workflows/build-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build
26-
run: dotnet build --configuration Release Exceptionless.Net.NonWindows.sln
26+
run: dotnet build --configuration Release Exceptionless.Net.NonWindows.slnx
2727
- name: Run Tests
28-
run: dotnet test --configuration Release --no-build Exceptionless.Net.NonWindows.sln
28+
run: dotnet test --configuration Release --no-build Exceptionless.Net.NonWindows.slnx

.github/workflows/build-osx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build
26-
run: dotnet build --configuration Release Exceptionless.Net.NonWindows.sln
26+
run: dotnet build --configuration Release Exceptionless.Net.NonWindows.slnx
2727
- name: Run Tests
28-
run: dotnet test --configuration Release --no-build Exceptionless.Net.NonWindows.sln
28+
run: dotnet test --configuration Release --no-build Exceptionless.Net.NonWindows.slnx

.github/workflows/build-windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
version=$(minver --tag-prefix v)
2424
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525
- name: Build
26-
run: dotnet build --configuration Release Exceptionless.Net.Windows.sln
26+
run: dotnet build --configuration Release Exceptionless.Net.Windows.slnx
2727
- name: Run Tests
28-
run: dotnet test --configuration Release --no-build Exceptionless.Net.Windows.sln
28+
run: dotnet test --configuration Release --no-build Exceptionless.Net.Windows.slnx
2929
- name: Package
3030
if: github.event_name != 'pull_request'
31-
run: dotnet pack --configuration Release --no-build Exceptionless.Net.Windows.sln
31+
run: dotnet pack --configuration Release --no-build Exceptionless.Net.Windows.slnx
3232
- name: Install GitHub Package Tool
3333
if: github.event_name != 'pull_request'
3434
run: dotnet tool install gpr -g

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# User-specific files
55
*.suo
66
*.user
7-
*.sln.docstates
7+
*.slnx.docstates
88
*.ide
99

1010
# Build results
@@ -164,5 +164,5 @@ dist
164164
lib
165165
node_modules
166166
App_Data
167-
Exceptionless.sln.GhostDoc.xml
167+
Exceptionless.slnx.GhostDoc.xml
168168
.vs/config/applicationhost.config

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build",
1010
"/property:GenerateFullPaths=true",
1111
"/consoleloggerparameters:NoSummary",
12-
"Exceptionless.Net.NonWindows.sln"
12+
"Exceptionless.Net.NonWindows.slnx"
1313
],
1414
"group": {
1515
"kind": "build",
@@ -28,7 +28,7 @@
2828
"test",
2929
"/property:GenerateFullPaths=true",
3030
"/consoleloggerparameters:NoSummary",
31-
"Exceptionless.Net.NonWindows.sln"
31+
"Exceptionless.Net.NonWindows.slnx"
3232
],
3333
"group": {
3434
"kind": "test",

Exceptionless.Net.NonWindows.sln

Lines changed: 0 additions & 102 deletions
This file was deleted.

Exceptionless.Net.NonWindows.slnx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Solution>
2+
<Folder Name="/Platforms/">
3+
<Project Path="src/Platforms/Exceptionless.AspNetCore/Exceptionless.AspNetCore.csproj" />
4+
<Project Path="src/Platforms/Exceptionless.Extensions.Hosting/Exceptionless.Extensions.Hosting.csproj" />
5+
<Project Path="src/Platforms/Exceptionless.Extensions.Logging/Exceptionless.Extensions.Logging.csproj" />
6+
<Project Path="src/Platforms/Exceptionless.Log4net/Exceptionless.Log4net.csproj" />
7+
<Project Path="src/Platforms/Exceptionless.MessagePack/Exceptionless.MessagePack.csproj" />
8+
<Project Path="src/Platforms/Exceptionless.NLog/Exceptionless.NLog.csproj" />
9+
</Folder>
10+
<Folder Name="/Solution Items/">
11+
<File Path="build/common.props" />
12+
<File Path="CONTRIBUTING.md" />
13+
<File Path="LICENSE.txt" />
14+
<File Path="README.md" />
15+
</Folder>
16+
<Folder Name="/Tests/">
17+
<Project Path="test/Exceptionless.MessagePack.Tests/Exceptionless.MessagePack.Tests.csproj" />
18+
<Project Path="test/Exceptionless.TestHarness/Exceptionless.TestHarness.csproj" />
19+
<Project Path="test/Exceptionless.Tests/Exceptionless.Tests.csproj" />
20+
</Folder>
21+
<Project Path="src/Exceptionless/Exceptionless.csproj" />
22+
</Solution>

0 commit comments

Comments
 (0)