-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
95 lines (82 loc) · 3.78 KB
/
Directory.Build.props
File metadata and controls
95 lines (82 loc) · 3.78 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
<Project>
<!-- Common build properties -->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors Condition="'$(MSBuildProjectName)' != 'FastComponents.Generators'">true</TreatWarningsAsErrors>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
</PropertyGroup>
<!-- Dependencies custom properties -->
<PropertyGroup>
<IncludeAnalyzers Condition="'$(IncludeAnalyzers)' == ''">true</IncludeAnalyzers>
</PropertyGroup>
<!-- Organization metadata -->
<PropertyGroup>
<Company>Atypical Consulting SRL</Company>
<Authors>Philippe Matray</Authors>
<Product>FastComponents</Product>
<Copyright>Copyright (c) 2020-2025 Atypical Consulting SRL</Copyright>
</PropertyGroup>
<!-- Repository metadata -->
<PropertyGroup>
<RepositoryUrl>https://github.com/Atypical-Consulting/FastComponents.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<RepositoryBranch>main</RepositoryBranch>
<PackageProjectUrl>https://github.com/Atypical-Consulting/FastComponents</PackageProjectUrl>
</PropertyGroup>
<!-- Versioning -->
<!-- Uses MinVer for automatic versioning based on Git tags -->
<PropertyGroup>
<MinVerTagPrefix>v</MinVerTagPrefix>
<MinVerDefaultPreReleaseIdentifiers>preview</MinVerDefaultPreReleaseIdentifiers>
<MinVerSkip Condition="'$(Configuration)' == 'Debug'">true</MinVerSkip>
</PropertyGroup>
<!-- Source Link -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- Deterministic builds -->
<PropertyGroup>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<!-- Code quality -->
<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllDisabledByDefault</AnalysisMode>
</PropertyGroup>
<!-- Common suppressions -->
<PropertyGroup>
<!-- IDE0073: File header -->
<NoWarn>$(NoWarn);IDE0073</NoWarn>
<!-- IL2026: Using member with RequiresUnreferencedCodeAttribute -->
<NoWarn>$(NoWarn);IL2026</NoWarn>
<!-- IL3050: Using member with RequiresDynamicCodeAttribute -->
<NoWarn>$(NoWarn);IL3050</NoWarn>
<!-- CA2263: Prefer generic overload (not applicable for dynamic scenarios) -->
<NoWarn>$(NoWarn);CA2263</NoWarn>
<!-- ASP0006: Sequence number usage (acceptable in component rendering) -->
<NoWarn>$(NoWarn);ASP0006</NoWarn>
</PropertyGroup>
<!-- Output paths -->
<PropertyGroup>
<BaseOutputPath Condition="'$(BaseOutputPath)' == ''">$(MSBuildProjectDirectory)\bin\</BaseOutputPath>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$(MSBuildProjectDirectory)\obj\</BaseIntermediateOutputPath>
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$(MSBuildThisFileDirectory)artifacts\</PackageOutputPath>
</PropertyGroup>
<!-- Conditional Package Versions for Analyzers -->
<ItemGroup Condition="'$(IncludeAnalyzers)' == 'true'">
<PackageReference Include="Roslynator.Analyzers" PrivateAssets="all" />
<PackageReference Include="Roslynator.CodeAnalysis.Analyzers" PrivateAssets="all" />
<PackageReference Include="Roslynator.Formatting.Analyzers" PrivateAssets="all" />
</ItemGroup>
</Project>