From b4081e47adb7eda5d59ba0686ffe4e084c4985f0 Mon Sep 17 00:00:00 2001 From: Eduardo Serrano Date: Sun, 25 May 2025 10:18:21 +0100 Subject: [PATCH] Migrates solution to .slnx format 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. --- .github/workflows/build-test.yml | 2 +- .../MarkdownLinkCheckLogParser.sln | 39 ------------------- .../MarkdownLinkCheckLogParser.slnx | 8 ++++ docs/dev-notes/README.md | 8 ++-- 4 files changed, 13 insertions(+), 44 deletions(-) delete mode 100644 MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.sln create mode 100644 MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.slnx diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 743f279..c72e85d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.os }} env: SLN_DIR: MarkdownLinkCheckLogParser - SLN_FILENAME: MarkdownLinkCheckLogParser.sln + SLN_FILENAME: MarkdownLinkCheckLogParser.slnx TEST_RESULTS_ARTIFACT_NAME: test-results CODE_COVERAGE_ARTIFACT_NAME: code-coverage-report steps: diff --git a/MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.sln b/MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.sln deleted file mode 100644 index 7f601f4..0000000 --- a/MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.sln +++ /dev/null @@ -1,39 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.1.32328.378 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{B2FC893D-3479-4097-9F8B-447E867CD5E1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{C908E9CF-F974-4281-9B09-2C7E8237B79D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MarkdownLinkCheckLogParserCli.Tests", "tests\MarkdownLinkCheckLogParserCli.Tests\MarkdownLinkCheckLogParserCli.Tests.csproj", "{E7A0E118-FB2C-4C1D-9494-7B7E7B2F3AC2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MarkdownLinkCheckLogParserCli", "src\MarkdownLinkCheckLogParserCli\MarkdownLinkCheckLogParserCli.csproj", "{B2A846D8-D25F-4025-B370-031C8C30A098}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E7A0E118-FB2C-4C1D-9494-7B7E7B2F3AC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E7A0E118-FB2C-4C1D-9494-7B7E7B2F3AC2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E7A0E118-FB2C-4C1D-9494-7B7E7B2F3AC2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E7A0E118-FB2C-4C1D-9494-7B7E7B2F3AC2}.Release|Any CPU.Build.0 = Release|Any CPU - {B2A846D8-D25F-4025-B370-031C8C30A098}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B2A846D8-D25F-4025-B370-031C8C30A098}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B2A846D8-D25F-4025-B370-031C8C30A098}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B2A846D8-D25F-4025-B370-031C8C30A098}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {E7A0E118-FB2C-4C1D-9494-7B7E7B2F3AC2} = {C908E9CF-F974-4281-9B09-2C7E8237B79D} - {B2A846D8-D25F-4025-B370-031C8C30A098} = {B2FC893D-3479-4097-9F8B-447E867CD5E1} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {AE69B846-FAFD-4138-B736-66201810EE95} - EndGlobalSection -EndGlobal diff --git a/MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.slnx b/MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.slnx new file mode 100644 index 0000000..a156bf9 --- /dev/null +++ b/MarkdownLinkCheckLogParser/MarkdownLinkCheckLogParser.slnx @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/docs/dev-notes/README.md b/docs/dev-notes/README.md index bc52e6d..1fac18d 100644 --- a/docs/dev-notes/README.md +++ b/docs/dev-notes/README.md @@ -20,19 +20,19 @@ ### Building with Visual Studio -1) Clone the repo and open the **MarkdownLinkCheckLogParser.sln** solution file at `/MarkdownLinkCheckLogParser`. +1) Clone the repo and open the **MarkdownLinkCheckLogParser.slnx** solution file at `/MarkdownLinkCheckLogParser`. 2) Press build on Visual Studio. ### Building with dotnet CLI 1) Clone the repo and browse to the solution's directory at `/MarkdownLinkCheckLogParser` using your favorite shell. -2) Run **`dotnet build MarkdownLinkCheckLogParser.sln`** to build the source of the CLI app. +2) Run **`dotnet build MarkdownLinkCheckLogParser.slnx`** to build the source of the CLI app. ## Running MarkdownLinkCheckLogParser solution tests ### Run tests with Visual Studio -1) Clone the repo and open the **MarkdownLinkCheckLogParser.sln** solution file at `/MarkdownLinkCheckLogParser`. +1) Clone the repo and open the **MarkdownLinkCheckLogParser.slnx** solution file at `/MarkdownLinkCheckLogParser`. 2) Go to the test explorer in Visual Studio and run tests. **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 @@ ### Run tests with dotnet CLI 1) Clone the repo and browse to the solution's directory at `/MarkdownLinkCheckLogParser` using your favorite shell. -2) Run **`dotnet test MarkdownLinkCheckLogParser.sln`** to run tests. +2) Run **`dotnet test MarkdownLinkCheckLogParser.slnx`** to run tests. ## Building and running the Docker container action