-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
64 lines (55 loc) · 2.63 KB
/
Directory.Build.props
File metadata and controls
64 lines (55 loc) · 2.63 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
<Project>
<PropertyGroup>
<!-- .NET 10.0 with C# 14 -->
<TargetFramework>net10.0</TargetFramework>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Versioning -->
<Version>0.1.1</Version>
<AssemblyVersion>$(Version).0</AssemblyVersion>
<FileVersion>$(Version).0</FileVersion>
<!-- Code Quality -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-all</AnalysisLevel>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!-- Suppress specific warnings -->
<!-- CA2007: ConfigureAwait not needed in ASP.NET Core -->
<!-- CA1819: Array properties - common pattern, acceptable -->
<!-- CA2016: CancellationToken forwarding - can be addressed incrementally -->
<!-- CA1062: Parameter validation - nullable reference types handle this -->
<!-- MsgPack017: Init properties with initializers - acceptable pattern -->
<!-- CA1848: LoggerMessage delegates - acceptable for current codebase -->
<NoWarn>$(NoWarn);CA2007;CA1819;CA2016;CA1062;MsgPack017;CA1848</NoWarn>
<!-- Native AOT Readiness (disabled for Docker builds) -->
<IsAotCompatible Condition="'$(PublishAot)' == 'true'">true</IsAotCompatible>
<EnableTrimAnalyzer Condition="'$(PublishAot)' == 'true'">true</EnableTrimAnalyzer>
<!-- Build Performance -->
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<!-- Package Metadata -->
<Authors>OrbitMesh Contributors</Authors>
<Company>OrbitMesh</Company>
<Product>OrbitMesh</Product>
<Copyright>Copyright (c) 2025 OrbitMesh Contributors</Copyright>
<RepositoryUrl>https://github.com/iyulab/OrbitMesh</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- Source revision (set by CI/CD) -->
<SourceRevisionId Condition="'$(SourceRevisionId)' == ''">local</SourceRevisionId>
<InformationalVersion>$(Version)+$(SourceRevisionId)</InformationalVersion>
</PropertyGroup>
<!-- Source Link for Debugging -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DebugType>embedded</DebugType>
</PropertyGroup>
<!-- Deterministic Build -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>