1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <Project >
3
+ <PropertyGroup >
4
+ <!-- MSBuild Reserved and Well-Known Properties https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-reserved-and-well-known-properties -->
5
+
6
+ <RestoreProjectStyle >PackageReference</RestoreProjectStyle >
7
+ <GenerateAssemblyInfo >true</GenerateAssemblyInfo >
8
+ <UpdateAssemblyInfo >true</UpdateAssemblyInfo >
9
+
10
+ <!-- use command "dotnet new globaljson" for local develpment environment -->
11
+
12
+ <!-- .NET 5.0 SDK includes Microsoft.CodeAnalysis.NetAnalyzers which replaces Microsoft.CodeAnalysis.FxCopAnalyzers -->
13
+ <EnableNETAnalyzers >true</EnableNETAnalyzers >
14
+ <AnalysisMode >AllEnableByDefault</AnalysisMode >
15
+ </PropertyGroup >
16
+
17
+ <ItemGroup >
18
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
19
+ </ItemGroup >
20
+
21
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
22
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
23
+ </PropertyGroup >
24
+
25
+ <PropertyGroup >
26
+ <!-- <SignAssembly>false</SignAssembly> -->
27
+ <Authors >Patrick Dwyer & Steve Springett</Authors >
28
+ <Copyright >Copyright (c) OWASP Foundation</Copyright >
29
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
30
+ <PackageProjectUrl >https://github.com/CycloneDX/cyclonedx-dotnet-library</PackageProjectUrl >
31
+ <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
32
+ <RepositoryType >git</RepositoryType >
33
+ <RepositoryUrl >https://github.com/CycloneDX/cyclonedx-dotnet-library.git</RepositoryUrl >
34
+ <!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
35
+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
36
+ <!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
37
+ <IncludeSymbols >true</IncludeSymbols >
38
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
39
+ </PropertyGroup >
40
+
41
+ </Project >
0 commit comments