Skip to content

Commit

Permalink
Fix for project with AutoGenerateBindingRedirects enabled produces MS…
Browse files Browse the repository at this point in the history
…B3277

Disable AutoGenerateBindingRedirects when targeting netcoreapp. Normally you do not need it on .NET Core.

Look at dotnet/corefx#40978
  • Loading branch information
punker76 committed Nov 28, 2019
1 parent 61a864f commit f2fa491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Expand Up @@ -11,7 +11,7 @@
<OutputPath Condition="$(IsBuildingWpfTempProj) != 'true'">$(MSBuildThisFileDirectory)\bin\$(Configuration)\$(MSBuildProjectName)</OutputPath>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AutoGenerateBindingRedirects Condition="'$(TargetFramework)' != 'netcoreapp3.0'">true</AutoGenerateBindingRedirects>
<LangVersion>7.3</LangVersion>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
Expand Down

0 comments on commit f2fa491

Please sign in to comment.