Skip to content

Commit 76e09e1

Browse files
lukecolburnahmelsayed
authored andcommitted
disable auto generation of binding redirects
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.
1 parent 25819e0 commit 76e09e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Azure.Functions.Cli/Azure.Functions.Cli.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<AssemblyName>func</AssemblyName>
1212
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
1515
<NuGetPackageImportStamp>
1616
</NuGetPackageImportStamp>
1717
</PropertyGroup>

0 commit comments

Comments
 (0)