-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
118 lines (106 loc) · 5.22 KB
/
Directory.Build.props
File metadata and controls
118 lines (106 loc) · 5.22 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<Project>
<!-- This file is imported by all projects in the solution hierarchy -->
<!-- Common Project Settings -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>14</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<NullableReferenceTypes>true</NullableReferenceTypes>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<Authors>Philippe Matray</Authors>
<!-- MinVer Configuration for all projects -->
<MinVerTagPrefix>v</MinVerTagPrefix>
<MinVerSkip Condition="'$(Configuration)' == 'Debug' or '$(Version)' != ''">true</MinVerSkip>
</PropertyGroup>
<!-- Code Analysis Settings -->
<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>10.0-recommended</AnalysisLevel>
<AnalysisModeDesign>All</AnalysisModeDesign>
<AnalysisModeDocumentation>All</AnalysisModeDocumentation>
<AnalysisModeGlobalization>All</AnalysisModeGlobalization>
<AnalysisModeInteroperability>All</AnalysisModeInteroperability>
<AnalysisModeMaintainability>All</AnalysisModeMaintainability>
<AnalysisModeNaming>All</AnalysisModeNaming>
<AnalysisModePerformance>All</AnalysisModePerformance>
<AnalysisModeSingleFile>All</AnalysisModeSingleFile>
<AnalysisModeReliability>All</AnalysisModeReliability>
<AnalysisModeSecurity>All</AnalysisModeSecurity>
<AnalysisModeStyle>All</AnalysisModeStyle>
<AnalysisModeUsage>All</AnalysisModeUsage>
</PropertyGroup>
<!-- NuGet Package Settings for src projects -->
<PropertyGroup Condition="'$(IsTestProject)' != 'true' and '$(MSBuildProjectDirectory.Contains(`src`))' == 'true'">
<Description>
TaLibStandard is a modern interpretation of the widely used TA-Lib,
reimagined in C# 14. It is designed to be reliable, efficient, and user-friendly for developers
performing financial market analysis.
</Description>
<PackageProjectUrl>https://github.com/phmatray/TaLibStandard</PackageProjectUrl>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
<PackageTags>Technical Analysis, TA-Lib, Finance, Trading, Stocks, Forex, Cryptocurrencies</PackageTags>
</PropertyGroup>
<!-- Package validation for specific projects -->
<PropertyGroup Condition="'$(EnablePackageValidation)' == 'true'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<!-- Test Project Settings -->
<PropertyGroup Condition="'$(IsTestProject)' == 'true' or '$(MSBuildProjectDirectory.Contains(`tests`))' == 'true'">
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<!-- Demo Project Settings -->
<PropertyGroup Condition="'$(MSBuildProjectDirectory.Contains(`demo`))' == 'true'">
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
</PropertyGroup>
<!-- Common Package References -->
<ItemGroup>
<!-- Code Analyzers -->
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<!-- Package References for src projects -->
<ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(MSBuildProjectDirectory.Contains(`src`))' == 'true'">
<!-- Reproducible Builds -->
<PackageReference Include="DotNet.ReproducibleBuilds">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<!-- MinVer -->
<PackageReference Include="MinVer">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<!-- Test Package References -->
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
<PackageReference Include="AutoFixture" />
<PackageReference Include="Shouldly" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" />
<PackageReference Include="xunit.v3" />
<PackageReference Include="xunit.v3.runner.console" />
<PackageReference Include="xunit.runner.visualstudio">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<!-- Package Icon and Readme for src projects -->
<ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(MSBuildProjectDirectory.Contains(`src`))' == 'true'">
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="" />
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="" />
</ItemGroup>
<!-- Common test project items -->
<ItemGroup Condition="'$(IsTestProject)' == 'true'">
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" Condition="Exists('xunit.runner.json')" />
<Using Include="Xunit" />
<Using Include="Shouldly" />
</ItemGroup>
</Project>