We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6cc06 commit 7ab9ad6Copy full SHA for 7ab9ad6
UpdateVersions.ps1
@@ -12,8 +12,8 @@ Get-ChildItem -Recurse packages.config -Path $PSScriptRoot | foreach-object {
12
}
13
14
Get-ChildItem -Recurse *.vcxproj -Path $PSScriptRoot | foreach-object {
15
- $newVersionString = '$(NugetPackageDirectory)\Microsoft.WindowsAppSDK.' + $WinAppSDKVersion + '\'
16
- $oldVersionString = '$(NugetPackageDirectory)\Microsoft.WindowsAppSDK.[-.0-9a-zA-Z]*\\'
+ $newVersionString = '\Microsoft.WindowsAppSDK.' + $WinAppSDKVersion + '\'
+ $oldVersionString = '\\Microsoft.WindowsAppSDK.[-.0-9a-zA-Z]*\\'
17
$content = Get-Content $_.FullName -Raw
18
$content = $content -replace $oldVersionString, $newVersionString
19
Set-Content -Path $_.FullName -Value $content
0 commit comments