diff --git a/Common/Scripts/UpdateTargetFrameworks.ps1 b/Common/Scripts/UpdateTargetFrameworks.ps1 index d42f3678..18d9ecea 100644 --- a/Common/Scripts/UpdateTargetFrameworks.ps1 +++ b/Common/Scripts/UpdateTargetFrameworks.ps1 @@ -20,8 +20,4 @@ if ($newFileContents -eq $fileContents) { return; } -if (Test-Path '.\..\Labs.TargetFrameworks.props') { - Clear-Content -Path .\..\Labs.TargetFrameworks.props; -} - -Add-Content -Force -Path .\..\Labs.TargetFrameworks.props -Value $newFileContents; \ No newline at end of file +Set-Content -Force -Path .\..\Labs.TargetFrameworks.props -Value $newFileContents; \ No newline at end of file