-
-
Notifications
You must be signed in to change notification settings - Fork 89
/
Directory.Build.props
43 lines (35 loc) · 2.19 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
40
41
42
43
<?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 -->
<!-- Do not consider items from obj or bin folder within the project folder -->
<DefaultItemExcludes>$(DefaultItemExcludes);$(MSBuildProjectDirectory)/obj/**/*</DefaultItemExcludes>
<DefaultItemExcludes>$(DefaultItemExcludes);$(MSBuildProjectDirectory)/bin/**/*</DefaultItemExcludes>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<UpdateAssemblyInfo>true</UpdateAssemblyInfo>
<OsEnvironment Condition="$([MSBuild]::IsOSPlatform('windows'))">windows</OsEnvironment>
<OsEnvironment Condition="$([MSBuild]::IsOSPlatform('linux'))">linux</OsEnvironment>
<OsEnvironment Condition="$([MSBuild]::IsOSPlatform('osx'))">osx</OsEnvironment>
<!-- use command "dotnet new globaljson" for local development environment -->
<!-- .NET SDK includes Microsoft.CodeAnalysis.NetAnalyzers -->
<AnalysisMode>AllEnableByDefault</AnalysisMode>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NoWarn>$(NoWarn);NU1507</NoWarn>
</PropertyGroup>
<PropertyGroup>
<Authors>Steve Springett & Patrick Dwyer</Authors>
<Copyright>Copyright (c) OWASP Foundation</Copyright>
<Description>A .NET Core global tool to generate CycloneDX bill-of-material documents for use with Software Composition Analysis (SCA).</Description>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/CycloneDX/cyclonedx-dotnet</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageReleaseNotes>https://github.com/CycloneDX/cyclonedx-dotnet/releases</PackageReleaseNotes>
<PackageVersion>$(VersionSuffix)</PackageVersion>
<PackAsTool>true</PackAsTool>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/CycloneDX/cyclonedx-dotnet.git</RepositoryUrl>
<ToolCommandName>dotnet-CycloneDX</ToolCommandName>
</PropertyGroup>
</Project>