Skip to content

Commit

Permalink
disable auto generation of binding redirects
Browse files Browse the repository at this point in the history
Automatic binding redirects in msbuild are overriding the explicit redirects set up for System.Net.Http and System.IO.Compression. Setting AutoGenerateBindingRedirects to false in the csproj prevents this.
  • Loading branch information
lukecolburn authored and ahmelsayed committed May 16, 2017
1 parent 25819e0 commit 76e09e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Azure.Functions.Cli/Azure.Functions.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyName>func</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
Expand Down

0 comments on commit 76e09e1

Please sign in to comment.