Skip to content

Commit 662fe19

Browse files
authored
refactor: convert solution to .slnx format and move to src/ (#29)
Converts from legacy .sln format to the new XML-based .slnx format. Moves solution file from root to src/ for consistency with other repos. Updates CI workflow to reference the new solution path.
1 parent 7a93aac commit 662fe19

3 files changed

Lines changed: 16 additions & 59 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ on:
55
branches: [main]
66
paths:
77
- 'src/**'
8-
- '*.sln'
98
- '.github/workflows/ci.yml'
109
pull_request:
1110
branches: [main]
1211
paths:
1312
- 'src/**'
14-
- '*.sln'
1513
- '.github/workflows/ci.yml'
1614

1715
jobs:
@@ -33,10 +31,10 @@ jobs:
3331
dotnet-version: '10.0.x'
3432

3533
- name: Restore dependencies
36-
run: dotnet restore CodingWithCalvin.VSToolbox.sln
34+
run: dotnet restore src/CodingWithCalvin.VSToolbox.slnx
3735

3836
- name: Build
39-
run: dotnet build CodingWithCalvin.VSToolbox.sln --configuration ${{ matrix.configuration }} -p:Platform=${{ matrix.platform }} --no-restore
37+
run: dotnet build src/CodingWithCalvin.VSToolbox.slnx --configuration ${{ matrix.configuration }} -p:Platform=${{ matrix.platform }} --no-restore
4038

4139
- name: Test
42-
run: dotnet test CodingWithCalvin.VSToolbox.sln --configuration ${{ matrix.configuration }} -p:Platform=${{ matrix.platform }} --no-build --verbosity normal
40+
run: dotnet test src/CodingWithCalvin.VSToolbox.slnx --configuration ${{ matrix.configuration }} -p:Platform=${{ matrix.platform }} --no-build --verbosity normal

CodingWithCalvin.VSToolbox.sln

Lines changed: 0 additions & 54 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Solution>
2+
<Configurations>
3+
<Configuration Name="Debug" />
4+
<Configuration Name="Release" />
5+
<Platform Name="Any CPU" />
6+
<Platform Name="x64" />
7+
<Platform Name="x86" />
8+
</Configurations>
9+
<Folder Name="/src/">
10+
<Project Path="CodingWithCalvin.VSToolbox/CodingWithCalvin.VSToolbox.csproj" />
11+
<Project Path="CodingWithCalvin.VSToolbox.Core/CodingWithCalvin.VSToolbox.Core.csproj" />
12+
</Folder>
13+
</Solution>

0 commit comments

Comments
 (0)