Skip to content

Commit 9e6ed3f

Browse files
authored
Update ci.yaml
1 parent ff392f0 commit 9e6ed3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
cache: true
2222
cache-dependency-path: '**/packages.lock.json'
2323
- name: dotnet restore
24-
run: dotnet restore --locked-mode
24+
run: dotnet restore --locked-mode /p:BuildWithNetFrameworkHostedCompiler=true
2525
- name: dotnet format
2626
run: dotnet format --verify-no-changes --no-restore
2727

@@ -75,7 +75,7 @@ jobs:
7575
cache: true
7676
cache-dependency-path: '**/packages.lock.json'
7777
- name: dotnet restore
78-
run: dotnet restore --locked-mode
78+
run: dotnet restore --locked-mode /p:BuildWithNetFrameworkHostedCompiler=true
7979
# This doesn't call `dotnet publish` on the entire solution, just the
8080
# projects we care about building. Doing a full publish includes test
8181
# libraries and stuff which is pointless.

0 commit comments

Comments
 (0)