Skip to content

Commit

Permalink
Prevent auto binding redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink committed Jul 15, 2022
1 parent d3f4d84 commit 270adfd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vstest.console/vstest.console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<RootNamespace>Microsoft.VisualStudio.TestPlatform.CommandLine</RootNamespace>
<UseBannedApiAnalyzers>true</UseBannedApiAnalyzers>
<!--
Prevents adding a bunch of binding redirects causing exception
(e.g. System.Runtime 4.1.2 instead of 4.0.0)
-->
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
<RuntimeIdentifiers>win7-x64;win10-arm64</RuntimeIdentifiers>
Expand Down

0 comments on commit 270adfd

Please sign in to comment.