Skip to content

Commit

Permalink
Ensure portable-tfm1+tfm2 are propertly escaped for defines.
Browse files Browse the repository at this point in the history
Fixes #106
  • Loading branch information
Oren Novotny committed Sep 1, 2018
1 parent 493d99f commit 1820b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MSBuild.Sdk.Extras/Build/Platforms.targets
Expand Up @@ -20,7 +20,7 @@
<!-- Add conditional compilation symbols for the target framework and one with version -->
<PropertyGroup Condition="'$(DisableImplicitFrameworkDefines)' != 'true'">
<ImplicitFrameworkIdentifierDefine>$(TargetFrameworkIdentifier.TrimStart('.').Replace('.','_').ToUpperInvariant())</ImplicitFrameworkIdentifierDefine>
<ImplicitFrameworkDefine>$(TargetFramework.Replace('.','_').Replace('-','_').ToUpperInvariant())</ImplicitFrameworkDefine>
<ImplicitFrameworkDefine>$(TargetFramework.Replace('.','_').Replace('-','_').Replace('+','_').ToUpperInvariant())</ImplicitFrameworkDefine>
<_SdkRuntimeIdentifierDefine Condition="'$(RuntimeIdentifier)' != ''">$(RuntimeIdentifier.Replace('.','_').Replace('-','_').ToUpperInvariant())</_SdkRuntimeIdentifierDefine>
</PropertyGroup>

Expand Down

0 comments on commit 1820b4a

Please sign in to comment.