-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
30 lines (26 loc) · 1019 Bytes
/
Directory.Build.props
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
<Project DefaultTargets="Build">
<!-- Allow for skipping non-test projects -->
<Target Name="VSTestIfTestProject">
<CallTarget Targets="VSTest" Condition="'$(IsTestProject)' == 'true'" />
</Target>
<!-- Set the repository root into a variable -->
<PropertyGroup>
<SourceRoot>$(MSBuildThisFileDirectory)</SourceRoot>
</PropertyGroup>
<!-- Set output folder for created NuGet packages -->
<PropertyGroup>
<PackageOutputPath Condition=" '$(PackageOutputPath)'=='' ">$(SourceRoot)/Artifacts/$(Configuration)</PackageOutputPath>
</PropertyGroup>
<!-- Versioning properties -->
<PropertyGroup>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">9.0.0</VersionPrefix>
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
</PropertyGroup>
<PropertyGroup>
<Moq>4.*</Moq>
<Splat>9.*</Splat>
<Microsoft_NET_Test_Sdk>15.9.0</Microsoft_NET_Test_Sdk>
<xunit>2.4.1</xunit>
<xunit_runner_visualstudio>2.4.1</xunit_runner_visualstudio>
</PropertyGroup>
</Project>