Skip to content

Commit c0171a4

Browse files
committed
Use MSBuild instead of dotnet build on appveyor
This is because `dotnet build` uses portable csc.exe, which cannot sign assemblies, leading to a shadow copy test failure due to strong name validation failing.
1 parent 847ad24 commit c0171a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,13 @@ install:
8484
8585
before_build:
8686
- ps: |
87-
dotnet restore
87+
msbuild "$Env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp.sln" `
88+
/verbosity:quiet `
89+
/t:restore
8890
8991
build_script:
9092
- ps: |
91-
dotnet msbuild "$Env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp.sln" `
93+
msbuild "$Env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp.sln" `
9294
/verbosity:minimal /fl /flp:verbosity=normal `
9395
/property:ExtraDefine="LEAKS_IDENTIFYING" `
9496
/t:build,pack

0 commit comments

Comments
 (0)