-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
26 lines (25 loc) · 1.3 KB
/
Directory.Build.props
File metadata and controls
26 lines (25 loc) · 1.3 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
<Project>
<PropertyGroup>
<AnalysisMode>Recommended</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<WarningsAsErrors>$(WarningsAsErrors);IL2026;IL3050</WarningsAsErrors>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
<!-- Packaging/SBOM defaults -->
<EnableSbom>true</EnableSbom>
<GenerateSbom Condition="'$(EnableSbom)'=='true'">true</GenerateSbom>
<!-- Emit both SPDX and CycloneDX SBOMs when packing/publishing -->
<SbomPackageFormats>spdxjson;cyclonedxjson</SbomPackageFormats>
<!-- Deterministic builds to keep package hashes stable -->
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!-- Package signing hook (off until org cert available) -->
<EnablePackageSigning>false</EnablePackageSigning>
<!-- When AOT publishing, expose NATIVE_AOT symbol for conditional code paths -->
<DefineConstants Condition="'$(PublishAot)'=='true'">$(DefineConstants);NATIVE_AOT</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="src/OmniRelay.Dispatcher.Generator/OmniRelay.Dispatcher.Generator.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false" />
</ItemGroup>
</Project>