1
0
mirror of https://github.com/winfsp/winspd.git synced 2025-04-18 23:23:59 +03:00

appveyor: hack to make WDK 1903 work on VS2015

This commit is contained in:
Bill Zissimopoulos 2020-09-15 21:02:36 -07:00
parent 756188dfb9
commit b9beb01d4e

View File

@ -6,6 +6,13 @@ environment:
- CONFIGURATION: Release
install:
- ps: |
# Hack to make WDK 1903 work on VS2015.
# See https://github.com/appveyor-tests/WDK-10.0.14393.0/blob/31cf12217fe0c92b218c70d7027dfe145be4f4cb/appveyor.yml#L7
[xml]$targets = get-content "C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.Common.targets"
$usingTask = $targets.ChildNodes[1].UsingTask | ? {$_.TaskName -eq "ValidateNTTargetVersion"}
$usingTask.AssemblyFile = '$(WDKContentRoot)build\bin\Microsoft.DriverKit.Build.Tasks.16.0.dll'
$targets.Save("C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.Common.targets")
- appveyor AddMessage "Change boot configuration and reboot" -Category Information
- bcdedit /set testsigning on
- verifier /standard /driver winspd-x64.sys