Skip to content

Commit 17915bf

Browse files
committed
Migrates to .slnx solution format
Updates the project to use the new .slnx solution format, replacing the old .sln format. This change improves project organization and maintainability.
1 parent d1b6f46 commit 17915bf

File tree

6 files changed

+32
-73
lines changed

6 files changed

+32
-73
lines changed

.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 Serilog.Sinks.Exceptionless.sln
26+
run: dotnet build --configuration Release Serilog.Sinks.Exceptionless.slnx
2727
- name: Run Tests
28-
run: dotnet test --configuration Release --no-build Serilog.Sinks.Exceptionless.sln
28+
run: dotnet test --configuration Release --no-build Serilog.Sinks.Exceptionless.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 Serilog.Sinks.Exceptionless.sln
26+
run: dotnet build --configuration Release Serilog.Sinks.Exceptionless.slnx
2727
- name: Run Tests
28-
run: dotnet test --configuration Release --no-build Serilog.Sinks.Exceptionless.sln
28+
run: dotnet test --configuration Release --no-build Serilog.Sinks.Exceptionless.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 Serilog.Sinks.Exceptionless.sln
26+
run: dotnet build --configuration Release Serilog.Sinks.Exceptionless.slnx
2727
- name: Run Tests
28-
run: dotnet test --configuration Release --no-build Serilog.Sinks.Exceptionless.sln
28+
run: dotnet test --configuration Release --no-build Serilog.Sinks.Exceptionless.slnx
2929
- name: Package
3030
if: github.event_name != 'pull_request'
31-
run: dotnet pack --configuration Release --no-build Serilog.Sinks.Exceptionless.sln
31+
run: dotnet pack --configuration Release --no-build Serilog.Sinks.Exceptionless.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
@@ -5,7 +5,7 @@
55
*.suo
66
*.user
77
*.userosscache
8-
*.sln.docstates
8+
*.slnx.docstates
99

1010
# User-specific files (MonoDevelop/Xamarin Studio)
1111
*.userprefs
@@ -137,7 +137,7 @@ publish/
137137
# Publish Web Output
138138
*.[Pp]ublish.xml
139139
*.azurePubxml
140-
# TODO: Comment the next line if you want to checkin your web deploy settings
140+
# TODO: Comment the next line if you want to checkin your web deploy settings
141141
# but database connection strings (with potential passwords) will be unencrypted
142142
*.pubxml
143143
*.publishproj

Serilog.Sinks.Exceptionless.sln

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

Serilog.Sinks.Exceptionless.slnx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<Solution>
2+
<Folder Name="/assets/">
3+
<File Path=".github/workflows/build-linux.yml" />
4+
<File Path=".github/workflows/build-osx.yml" />
5+
<File Path=".github/workflows/build-windows.yml" />
6+
<File Path="assets/Serilog.snk" />
7+
<File Path="README.md" />
8+
</Folder>
9+
<Folder Name="/sample/">
10+
<Project Path="sample/ConsoleDemo/ConsoleDemo.csproj" />
11+
<Project Path="sample/SampleWeb/SampleWeb.csproj" />
12+
</Folder>
13+
<Folder Name="/Solution Items/">
14+
<File Path=".github/workflows/build-linux.yml" />
15+
<File Path=".github/workflows/build-osx.yml" />
16+
<File Path=".github/workflows/build-windows.yml" />
17+
<File Path="LICENSE.txt" />
18+
<File Path="README.md" />
19+
</Folder>
20+
<Folder Name="/src/">
21+
<Project Path="src/Serilog.Sinks.Exceptionless/Serilog.Sinks.Exceptionless.csproj" />
22+
</Folder>
23+
</Solution>

0 commit comments

Comments
 (0)