mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
10 lines
507 B
PowerShell
10 lines
507 B
PowerShell
|
|
Get-ChildItem .\Projects\VC2015\ *.vcxproj -recurse |
|
|
Foreach-Object {
|
|
$c = ($_ | Get-Content)
|
|
$c = $c -replace 'MultiThreaded<','MultiThreadedDLL<'
|
|
$c = $c -replace '<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>','<WindowsTargetPlatformVersion>10</WindowsTargetPlatformVersion>'
|
|
$c = $c -replace '<PlatformToolset>v140</PlatformToolset>','<PlatformToolset>v142</PlatformToolset>'
|
|
[IO.File]::WriteAllText($_.FullName, ($c -join "`r`n"))
|
|
}
|