Fixed issue where switching to WinUI 3 multiples times and back to WinUI 2 would cause compilation constant not being cleaned up
This commit is contained in:
Родитель
7ff516cb59
Коммит
1ceab73a38
|
@ -24,7 +24,7 @@ if ($targets -eq "3") {
|
|||
|
||||
if ($targets -eq "2") {
|
||||
$fileContents = $fileContents -replace 'Uno.WinUI', 'Uno.UI';
|
||||
$fileContents = $fileContents -replace '\$\(DefineConstants\);WINAPPSDK;', '$(DefineConstants);';
|
||||
$fileContents = $fileContents -replace 'WINAPPSDK;', '';
|
||||
}
|
||||
|
||||
Set-Content -Force -Path ../Labs.Uno.props -Value $fileContents;
|
||||
|
|
Загрузка…
Ссылка в новой задаче