Skip to content

Commit ba5ddc1

Browse files
Auto-generate binding redirects only when targeting .NET Framework. (#338)
1 parent 16c6687 commit ba5ddc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MSBuildLocator/build/Microsoft.Build.Locator.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
3-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
3+
<AutoGenerateBindingRedirects Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">true</AutoGenerateBindingRedirects>
44
</PropertyGroup>
55

66
<ItemGroup>

0 commit comments

Comments
 (0)