Skip to content

Commit 83e2cce

Browse files
committed
Migrates to .slnx solution file format
Updates the project to use the new .slnx solution file format. This change includes updating the .gitignore, .gitattributes, Dockerfile, vscode settings and the post create command script to reflect the new file extension. The legacy .sln file is removed.
1 parent 5cbc01e commit 83e2cce

File tree

8 files changed

+38
-92
lines changed

8 files changed

+38
-92
lines changed

.devcontainer/postCreateCommand.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
dotnet dev-certs https --trust
4-
dotnet restore Exceptionless.sln
4+
dotnet restore Exceptionless.slnx

.gitattributes

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

55
# Custom for Visual Studio
66
*.cs diff=csharp
7-
*.sln merge=union
7+
*.slnx merge=union
88
*.csproj merge=union

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# User-specific files
77
*.suo
88
*.user
9-
*.sln.docstates
9+
*.slnx.docstates
1010
*.ide
1111

1212
# Build results

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@
9898
"**/lib/**/index.ts": "${dirname}/index.ts"
9999
},
100100
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
101-
"dotnet.defaultSolution": "Exceptionless.sln"
101+
"dotnet.defaultSolution": "Exceptionless.slnx"
102102
}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
22
WORKDIR /app
33

4-
COPY ./*.sln ./NuGet.Config ./
4+
COPY ./*.slnx ./NuGet.Config ./
55
COPY ./src/*.props ./src/
66
COPY ./tests/*.props ./tests/
77
COPY ./build/packages/* ./build/packages/

Exceptionless.sln

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

Exceptionless.slnx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<Solution>
2+
<Folder Name="/Solution Items/">
3+
<File Path=".editorconfig" />
4+
<File Path=".github/workflows/build.yaml" />
5+
<File Path="CONTRIBUTING.md" />
6+
<File Path="Dockerfile" />
7+
<File Path="exceptionless.http" />
8+
<File Path="global.json" />
9+
<File Path="LICENSE.txt" />
10+
<File Path="NuGet.Config" />
11+
<File Path="README.md" />
12+
<File Path="src/Directory.Build.props" />
13+
</Folder>
14+
<Folder Name="/Solution Items/http/">
15+
<File Path="tests/http/admin.http" />
16+
<File Path="tests/http/auth.http" />
17+
<File Path="tests/http/events.http" />
18+
<File Path="tests/http/organizations.http" />
19+
<File Path="tests/http/projects.http" />
20+
<File Path="tests/http/stacks.http" />
21+
<File Path="tests/http/status.http" />
22+
<File Path="tests/http/tokens.http" />
23+
<File Path="tests/http/users.http" />
24+
<File Path="tests/http/webhooks.http" />
25+
</Folder>
26+
<Project Path="src/Exceptionless.AppHost/Exceptionless.AppHost.csproj" />
27+
<Project Path="src/Exceptionless.Core/Exceptionless.Core.csproj" />
28+
<Project Path="src/Exceptionless.Insulation/Exceptionless.Insulation.csproj" />
29+
<Project Path="src/Exceptionless.Job/Exceptionless.Job.csproj" />
30+
<Project Path="src/Exceptionless.Web/Exceptionless.Web.csproj" />
31+
<Project Path="tests/Exceptionless.Tests/Exceptionless.Tests.csproj" />
32+
</Solution>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ _In appreciation for anyone who submits a non-trivial pull request, we will give
4141
- A browser window should be automatically opened to `https://localhost:5100/`
4242
- When running locally in `Development` mode, a global administrator user `test@localhost` is automatically created with password `tester`. You can also click the `Signup` button to create a new account
4343
- Visual Studio
44-
- Open Visual Studio and then open the `Exceptionless.sln` solution in the root folder
44+
- Open Visual Studio and then open the `Exceptionless.slnx` solution in the root folder
4545
- Start Elasticsearch by either configuring multiple startup projects for the `docker-compose` and `Exceptionless.Web` projects or by running the `start-services.ps1` script in the root folder
4646
- Run the `Exceptionless.Web` project
4747
- A browser window should be automatically opened to `https://localhost:5100/`

0 commit comments

Comments
 (0)