Skip to content

Commit 4819c1e

Browse files
authored
chore(build): migrate solution file to SLNX format (#10)
- Convert .sln to .slnx using dotnet sln migrate - Update CI workflow to use .slnx for nuget restore - Update CLAUDE.md build commands and references - Change platform target from x64 to AnyCPU - Remove unused .sln.DotSettings file Closes #9
1 parent 2beb305 commit 4819c1e

File tree

5 files changed

+23
-42
lines changed

5 files changed

+23
-42
lines changed

.github/workflows/release_build_and_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
extension-source-file: 'src/CodingWithCalvin.BreakpointNotifier/source.extension.cs'
2626

2727
- name: 2. Restoring Packages
28-
run: nuget restore src/CodingWithCalvin.BreakpointNotifier.sln
28+
run: nuget restore src/CodingWithCalvin.BreakpointNotifier.slnx
2929

3030
- name: 3. Building Project
3131
run: msbuild 'src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj' /p:configuration='Release' /p:platform='AnyCPU' /p:DeployExtension=False

CLAUDE.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,22 @@ VS-BreakpointNotifier is a Visual Studio 2022 extension (VSIX) that displays a m
4747

4848
```bash
4949
# Restore NuGet packages
50-
nuget restore src/CodingWithCalvin.BreakpointNotifier.sln
50+
nuget restore src/CodingWithCalvin.BreakpointNotifier.slnx
5151

52-
# Build Release (x64)
53-
msbuild src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj /p:configuration=Release /p:platform=x64 /p:DeployExtension=False
52+
# Build Release (AnyCPU)
53+
msbuild src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj /p:configuration=Release /p:platform=AnyCPU /p:DeployExtension=False
5454

55-
# Build Debug (x64)
56-
msbuild src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj /p:configuration=Debug /p:platform=x64 /p:DeployExtension=False
55+
# Build Debug (AnyCPU)
56+
msbuild src/CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj /p:configuration=Debug /p:platform=AnyCPU /p:DeployExtension=False
5757
```
5858

59-
Output: `bin\x64\{Configuration}\CodingWithCalvin.BreakpointNotifier.vsix`
59+
Output: `bin\{Configuration}\CodingWithCalvin.BreakpointNotifier.vsix`
6060

6161
## Development Setup
6262

6363
- Requires Visual Studio 2022 with C# development workload
6464
- Install "Extensibility Essentials 2022" extension for VS development
65-
- Open `CodingWithCalvin.BreakpointNotifier.sln` in Visual Studio
65+
- Open `CodingWithCalvin.BreakpointNotifier.slnx` in Visual Studio
6666
- Test by running in experimental VS instance (F5 from VS)
6767

6868
## Architecture
@@ -78,7 +78,7 @@ The extension has a minimal architecture with two core files:
7878
- C# / .NET Framework 4.8
7979
- Visual Studio SDK (v17.0+)
8080
- VSIX v3 package format
81-
- x64 architecture only
81+
- AnyCPU platform target
8282

8383
## CI/CD
8484

src/CodingWithCalvin.BreakpointNotifier.sln

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

src/CodingWithCalvin.BreakpointNotifier.sln.DotSettings

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Solution>
2+
<Configurations>
3+
<Configuration Name="Debug" />
4+
<Configuration Name="Release" />
5+
<Platform Name="AnyCPU" />
6+
</Configurations>
7+
<Folder Name="/Solution Items/">
8+
<File Path="../.github/workflows/publish.yml" />
9+
<File Path="../.github/workflows/release_build_and_deploy.yml" />
10+
<File Path="../README.md" />
11+
<File Path="../resources/extension.manifest.json" />
12+
</Folder>
13+
<Project Path="CodingWithCalvin.BreakpointNotifier/CodingWithCalvin.BreakpointNotifier.csproj" />
14+
</Solution>

0 commit comments

Comments
 (0)