forked from CoreWCF/CoreWCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.targets
34 lines (31 loc) · 1.63 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(IncludeCommonCode)' == 'true'">
<Compile Include="$(CommonPath)/CoreWCF/**/*.cs" Exclude="$(CommonPath)/CoreWCF/SR.cs">
<Visible>true</Visible>
<Link>shared/CoreWCF/%(RecursiveDir)%(Filename)%(Extension)</Link>
</Compile>
<Compile Include="$(CommonPath)/DuplexChannels/**/*.cs" Condition="'$(IncludeSharedDuplexChannelSource)' == 'True'">
<Visible>true</Visible>
<Link>shared/%(RecursiveDir)%(Filename)%(Extension)</Link>
</Compile>
<Compile Include="$(CommonPath)/System/**/*.cs">
<Visible>true</Visible>
<Link>shared/System/%(RecursiveDir)%(Filename)%(Extension)</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="'$(ReferenceCommonTestProject)' == 'true'">
<ProjectReference Include="$(UnitTestCommonProjectPath)" />
</ItemGroup>
<ItemGroup>
<None Condition="'$(RunUnitTestsConcurrently)' == 'true'" Include="$(SourceDir)Common/tests/XunitRunnerConfig/xunit.runner.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Link>xunit.runner.json</Link>
</None>
<None Condition="'$(RunUnitTestsConcurrently)' == 'false'" Include="$(SourceDir)Common/tests/XunitRunnerConfigConcurrencyLimiting/xunit.runner.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Link>xunit.runner.json</Link>
</None>
</ItemGroup>
<Import Project="$(ProjectDir)resources.targets" Condition="Exists('$(ProjectDir)resources.targets') And '$(OmitResources)'!='true'" />
</Project>