Last active
January 21, 2016 17:53
-
-
Save ftes/64ca74ebdde77a26385f to your computer and use it in GitHub Desktop.
Use v110 platform toolset instead of inten in all .vcxproj files located (recursively) in current directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-Childitem -recurse -Filter "*.vcxproj" | ` | |
Foreach-Object { | |
set fileName $_.FullName | |
set tmp GetTempFileName | |
cat $fileName | %{$_ -replace "\<PlatformToolset\>Intel C\+\+ Compiler XE 13\.0\<\/PlatformToolset\>","<PlatformToolset>v110</PlatformToolset>"} | Out-File -Encoding ASCII $tmp | |
del $fileName | |
mv $tmp $fileName | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment