File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <!-- Support for importing props via the runner -->
4
- <Import Condition =" '$(_Xunit_ImportPropsFile)' != '' " Project =" $(_Xunit_ImportPropsFile)" />
5
-
6
3
<PropertyGroup >
7
4
<!-- All referenced DLLs need to be in the bin folder -->
8
5
<CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
14
11
<DebugType >Full</DebugType >
15
12
<!-- Need binding redirects -->
16
13
<AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
17
- <GenerateBindingRedirectsOutputType >true</GenerateBindingRedirectsOutputType >
18
14
</PropertyGroup >
19
15
20
16
<PropertyGroup Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " >
33
29
<Visible >False</Visible >
34
30
</None >
35
31
</ItemGroup >
32
+
33
+ <!-- Support for importing props via the runner -->
34
+ <Import Condition =" '$(_Xunit_ImportPropsFile)' != '' " Project =" $(_Xunit_ImportPropsFile)" />
36
35
</Project >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
+ <!-- GenerateBindingRedirectsOutputType needs to be set in a target, see https://github.com/Microsoft/msbuild/issues/1310#issuecomment-309596435 -->
4
+ <Target Name =" _Xunit_ForceGenerationOfBindingRedirects"
5
+ AfterTargets =" ResolveAssemblyReferences"
6
+ BeforeTargets =" GenerateBindingRedirects"
7
+ Condition =" '$(AutoGenerateBindingRedirects)' == 'true'" >
8
+ <PropertyGroup >
9
+ <GenerateBindingRedirectsOutputType >true</GenerateBindingRedirectsOutputType >
10
+ </PropertyGroup >
11
+ </Target >
12
+
3
13
<!-- Support for importing targets via the runner -->
4
14
<Import Condition =" '$(_Xunit_ImportTargetsFile)' != '' " Project =" $(_Xunit_ImportTargetsFile)" />
5
15
</Project >
You can’t perform that action at this time.
0 commit comments