Skip to content

Commit 8a7c5bd

Browse files
Merge pull request #1200 from christianhelle/fix-vsix-builds
Fix VSIX Builds
2 parents 9c0b11e + c9a870e commit 8a7c5bd

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ jobs:
5858
((Get-Content -Path VSIX/ApiClientCodeGen.VSIX.Dev17/source.extension.vsixmanifest -Raw) -Replace "1.0.0", "${{ env.VERSION }}") | Set-Content -Path VSIX/ApiClientCodeGen.VSIX.Dev17/source.extension.vsixmanifest
5959
working-directory: src
6060
shell: pwsh
61-
- name: Restore
62-
run: dotnet restore VSIX.sln
63-
working-directory: src
6461
- name: Setup MSBuild.exe
6562
uses: microsoft/setup-msbuild@v2
63+
- name: Restore
64+
run: msbuild VSIX.sln -t:Restore
65+
working-directory: src
6666
- name: Build
6767
run: msbuild VSIX.sln /property:Configuration=Release /p:DeployExtension=false
6868
working-directory: src

.github/workflows/sonar-cloud.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ jobs:
6868
/d:sonar.cs.vstest.reportsPaths=**/*.trx `
6969
/d:sonar.cs.vscoveragexml.reportsPaths=**/*.coveragexml
7070
71-
- name: Restore
72-
run: dotnet restore VSIX.sln
73-
working-directory: src
74-
7571
- name: Setup MSBuild.exe
7672
uses: microsoft/setup-msbuild@v2
7773

74+
- name: Restore
75+
run: msbuild VSIX.sln -t:Restore
76+
working-directory: src
77+
7878
- name: Build
7979
run: msbuild VSIX.sln /property:Configuration=Release /t:Rebuild
8080
working-directory: src

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ jobs:
6767
steps:
6868
- uses: actions/checkout@v4
6969

70-
- name: Restore
71-
run: dotnet restore VSIX.sln
72-
working-directory: src
73-
7470
- name: Setup MSBuild.exe
7571
uses: microsoft/setup-msbuild@v2
7672

73+
- name: Restore
74+
run: msbuild VSIX.sln -t:Restore
75+
working-directory: src
76+
7777
- name: Build
7878
run: msbuild VSIX.sln /property:Configuration=Release /t:Rebuild
7979
working-directory: src

.github/workflows/vsix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
working-directory: src
3636
shell: pwsh
3737

38-
- name: Restore
39-
run: dotnet restore VSIX.sln
40-
working-directory: src
41-
4238
- name: Setup MSBuild.exe
4339
uses: microsoft/setup-msbuild@v2
4440

41+
- name: Restore
42+
run: msbuild VSIX.sln -t:Restore
43+
working-directory: src
44+
4545
- name: Build
4646
run: msbuild VSIX.sln /property:Configuration=Release /p:DeployExtension=false
4747
working-directory: src

0 commit comments

Comments
 (0)