forked from CycloneDX/cyclonedx-dotnet-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
39 lines (33 loc) · 1.88 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<!-- MSBuild Reserved and Well-Known Properties https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-reserved-and-well-known-properties -->
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<UpdateAssemblyInfo>true</UpdateAssemblyInfo>
<!-- use command "dotnet new globaljson" for local develpment environment -->
<!-- .NET 5.0 SDK includes Microsoft.CodeAnalysis.NetAnalyzers which replaces Microsoft.CodeAnalysis.FxCopAnalyzers -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnableByDefault</AnalysisMode>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup>
<!-- <SignAssembly>false</SignAssembly> -->
<Authors>Patrick Dwyer & Steve Springett</Authors>
<Copyright>Copyright (c) OWASP Foundation</Copyright>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageProjectUrl>https://github.com/CycloneDX/cyclonedx-dotnet-library</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/CycloneDX/cyclonedx-dotnet-library.git</RepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> -->
<!-- <RestoreLockedMode>true</RestoreLockedMode> -->
</PropertyGroup>
</Project>