forked from microsoft/testfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.Local.targets
29 lines (25 loc) · 1.58 KB
/
Directory.Build.Local.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
<!--
This file contains .Local. in the name and it's imported conditionally in the default directory one because this repo is used
as submodule in other repos and we don't want to import this file in those repos.
-->
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup Condition=" '$(UseAssemblyVersion14)' == 'true' ">
<!--
It appears that AssemblyVersion should always be set to 14.0.0.0 for some backward compatibility cases,
but we don't have any information about these cases.
-->
<AssemblyVersion>14.0.0.0</AssemblyVersion>
<AssemblyFileVersion>14.0.0.0</AssemblyFileVersion>
</PropertyGroup>
<!-- Code coverage-->
<PropertyGroup Condition=" $(UseVSTestRunner) == 'false' ">
<EnableCodeCoverage Condition=" '$(EnableCodeCoverage)' == '' ">true</EnableCodeCoverage>
<DefineConstants Condition=" '$(EnableCodeCoverage)' == 'true' " >$(DefineConstants);ENABLE_CODECOVERAGE</DefineConstants>
<Architecture Condition=" '$(Architecture)' == '' ">$(PlatformTarget)</Architecture>
<Architecture Condition="'$(PlatformTarget)' == '' or '$(PlatformTarget)' == 'AnyCpu'">x64</Architecture>
<ModuleName>$(MSBuildProjectName)_$(TargetFramework)_$(Configuration)_$(Architecture)</ModuleName>
<!-- Arcade runner settings -->
<TestRunnerAdditionalArguments Condition=" '$(EnableCodeCoverage)' == 'true' ">$(TestRunnerAdditionalArguments) --coverage --coverage-settings $(RepoRoot)eng/coverage.config --coverage-output $(ModuleName).coverage</TestRunnerAdditionalArguments>
</PropertyGroup>
</Project>