Skip to content

Commit bb2fc56

Browse files
authored
Migrates solution to .slnx format (#208)
Updates the solution file format from .sln to the more modern .slnx format. This provides a cleaner, folder-based structure within the solution explorer and simplifies management of projects. Also updates documentation and build scripts to reflect the solution file name change.
1 parent 538dcd5 commit bb2fc56

File tree

4 files changed

+13
-44
lines changed

4 files changed

+13
-44
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ${{ matrix.os }}
2828
env:
2929
SLN_DIR: MarkdownLinkCheckLogParser
30-
SLN_FILENAME: MarkdownLinkCheckLogParser.sln
30+
SLN_FILENAME: MarkdownLinkCheckLogParser.slnx
3131
TEST_RESULTS_ARTIFACT_NAME: test-results
3232
CODE_COVERAGE_ARTIFACT_NAME: code-coverage-report
3333
steps:

MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.sln

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Solution>
2+
<Folder Name="/src/">
3+
<Project Path="src/MarkdownLinkCheckLogParserCli/MarkdownLinkCheckLogParserCli.csproj" />
4+
</Folder>
5+
<Folder Name="/tests/">
6+
<Project Path="tests/MarkdownLinkCheckLogParserCli.Tests/MarkdownLinkCheckLogParserCli.Tests.csproj" />
7+
</Folder>
8+
</Solution>

docs/dev-notes/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020

2121
### Building with Visual Studio
2222

23-
1) Clone the repo and open the **MarkdownLinkCheckLogParser.sln** solution file at `/MarkdownLinkCheckLogParser`.
23+
1) Clone the repo and open the **MarkdownLinkCheckLogParser.slnx** solution file at `/MarkdownLinkCheckLogParser`.
2424
2) Press build on Visual Studio.
2525

2626
### Building with dotnet CLI
2727

2828
1) Clone the repo and browse to the solution's directory at `/MarkdownLinkCheckLogParser` using your favorite shell.
29-
2) Run **`dotnet build MarkdownLinkCheckLogParser.sln`** to build the source of the CLI app.
29+
2) Run **`dotnet build MarkdownLinkCheckLogParser.slnx`** to build the source of the CLI app.
3030

3131
## Running MarkdownLinkCheckLogParser solution tests
3232

3333
### Run tests with Visual Studio
3434

35-
1) Clone the repo and open the **MarkdownLinkCheckLogParser.sln** solution file at `/MarkdownLinkCheckLogParser`.
35+
1) Clone the repo and open the **MarkdownLinkCheckLogParser.slnx** solution file at `/MarkdownLinkCheckLogParser`.
3636
2) Go to the test explorer in Visual Studio and run tests.
3737

3838
**Note:** [Remote testing](https://docs.microsoft.com/en-us/visualstudio/test/remote-testing?view=vs-2022) with is configured on the solution which enables you to run the tests locally on Linux or on Windows. You can view the configuration file at [testenvironments.json](/MarkdownLinkCheckLogParser/testenvironments.json). To run the tests on Linux you need to have at least `Visual Studio 2022` and:
@@ -43,7 +43,7 @@
4343
### Run tests with dotnet CLI
4444

4545
1) Clone the repo and browse to the solution's directory at `/MarkdownLinkCheckLogParser` using your favorite shell.
46-
2) Run **`dotnet test MarkdownLinkCheckLogParser.sln`** to run tests.
46+
2) Run **`dotnet test MarkdownLinkCheckLogParser.slnx`** to run tests.
4747

4848
## Building and running the Docker container action
4949

0 commit comments

Comments
 (0)