Skip to content

Commit

Permalink
Issue:
Browse files Browse the repository at this point in the history
1) microsoft#613
2) microsoft#428
3) microsoft#391
4) microsoft#595

Fix:
Generate config file for test project targeting .NET Framework. This config file has have binding redirect which is needed at time of running tests.
  • Loading branch information
Faizan2304 committed Mar 21, 2017
1 parent 81830fc commit f62aab0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/package/nuspec/Microsoft.NET.Test.Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@
<PropertyGroup>
<DebugType Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">Full</DebugType>
</PropertyGroup>

<!--
Generate config file for test project targeting .NET Framework. This config file has have binding redirect which
is needed at time of running tests.
-->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>

<!--
Note that this must run before every invocation of CoreCompile to ensure that all
Expand Down

0 comments on commit f62aab0

Please sign in to comment.