-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
61 lines (55 loc) · 3.43 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<Project>
<PropertyGroup>
<Authors>Shayne van Asperen</Authors>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<DebugType>embedded</DebugType>
<Deterministic>true</Deterministic>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild Condition="'$(APPVEYOR_BUILD_NUMBER)' != ''">true</ContinuousIntegrationBuild>
<IsTestProject>$(MSBuildProjectName.EndsWith('Tests'))</IsTestProject>
<IsSampleProject>$(MSBuildProjectName.StartsWith('Sample'))</IsSampleProject>
<IsPackable>false</IsPackable>
<IsPackable Condition="!$(IsTestProject) AND !$(IsSampleProject)">true</IsPackable>
<NotNCrunch>false</NotNCrunch>
<NotNCrunch Condition="'$(NCrunch)' == ''">true</NotNCrunch>
<GenerateDocumentationFile Condition="$(NotNCrunch)">$(IsPackable)</GenerateDocumentationFile>
<GeneratePackageOnBuild Condition="$(NotNCrunch)">$(IsPackable)</GeneratePackageOnBuild>
<SignAssembly Condition="$(GeneratePackageOnBuild)">true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Luno.Client.Websocket.snk</AssemblyOriginatorKeyFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/shaynevanasperen/Luno.Client.Websocket</PackageProjectUrl>
<PackageIcon>Luno.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/shaynevanasperen/Luno.Client.Websocket/master/Luno.png</PackageIconUrl>
<RepositoryUrl>https://github.com/shaynevanasperen/Luno.Client.Websocket.git</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<APPVEYOR_BUILD_NUMBER Condition="'$(APPVEYOR_BUILD_NUMBER)' == ''">0</APPVEYOR_BUILD_NUMBER>
<MinVerTagPrefix>$(MSBuildProjectName).</MinVerTagPrefix>
<NoWarn Condition="$(IsTestProject)">$(NoWarn);CA1034;CA1051;CA1307;CA1822;CA2007;IDE0051</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Condition="$(NotNCrunch) AND $(IsPackable)" Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Condition="$(NotNCrunch) AND $(IsPackable)" Include="MinVer" Version="2.5.0" PrivateAssets="All" />
<PackageReference Condition="$(IsTestProject)" Include="FluentAssertions" Version="5.10.3" />
<PackageReference Condition="$(IsTestProject)" Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Condition="$(IsTestProject)" Include="NSubstitute" Version="4.2.2" />
<PackageReference Condition="$(IsTestProject)" Include="Serilog" Version="2.10.0" />
<PackageReference Condition="$(IsTestProject)" Include="Specify" Version="3.0.0" />
<PackageReference Condition="$(IsTestProject)" Include="TestStack.BDDfy.Xunit" Version="1.2.0" />
<PackageReference Condition="$(IsTestProject)" Include="xunit" Version="2.4.1" />
<PackageReference Condition="$(IsTestProject)" Include="xunit.runner.visualstudio" Version="2.4.3" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Condition="$(IsPackable)" Include="$(MSBuildThisFileDirectory)Luno.png" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<SourceRoot Include="$(MSBuildThisFileDirectory)/" />
</ItemGroup>
<Target Name="FileVersion" AfterTargets="MinVer">
<PropertyGroup>
<BUILD_NUMBER Condition="'$(BUILD_NUMBER)' == ''">0</BUILD_NUMBER>
<FileVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).$(BUILD_NUMBER)</FileVersion>
</PropertyGroup>
</Target>
</Project>