diff --git a/MultiTarget/EnabledMultiTargets.props b/MultiTarget/EnabledMultiTargets.props
index 47de023..ea21f05 100644
--- a/MultiTarget/EnabledMultiTargets.props
+++ b/MultiTarget/EnabledMultiTargets.props
@@ -2,6 +2,6 @@
- wasm;uwp;netstandard
+ wasm;uwp;netstandard;
diff --git a/MultiTarget/UseTargetFrameworks.ps1 b/MultiTarget/UseTargetFrameworks.ps1
index a75c5ee..1fa00ae 100644
--- a/MultiTarget/UseTargetFrameworks.ps1
+++ b/MultiTarget/UseTargetFrameworks.ps1
@@ -55,7 +55,7 @@ else {
# When enabledMultiTargetsRegexPartial is empty, the regex will match everything.
# To work around this, check if there's anything to remove before doing it.
if ($enabledMultiTargets.Length -gt 0) {
- $newFileContents = $fileContents -replace "\(.+?)\<\/EnabledMultiTargets\>", "$enabledMultiTargets";
+ $newFileContents = $fileContents -replace "\(.+?)\<\/EnabledMultiTargets\>", "$enabledMultiTargets;";
}
Set-Content -Force -Path $PSScriptRoot/EnabledMultiTargets.props -Value $newFileContents;