-
Notifications
You must be signed in to change notification settings - Fork 4
/
Directory.Build.props
36 lines (30 loc) · 1.61 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
<Project>
<PropertyGroup>
<IsPackable>true</IsPackable>
<EmbedAllSources>true</EmbedAllSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<!-- Generate the documentation but don't require it on all public members -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<!-- Version is specified using external mechanisms -->
<Version>$(VERSION)</Version>
<InformationalVersion>$(VERSION)-$(GIT_COMMIT)</InformationalVersion>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<Copyright>Copyright 2016-2020 LeanCode Sp. z o.o.</Copyright>
<RepositoryUrl>https://github.com/leancodepl/corelibrary</RepositoryUrl>
<RepositoryCommit>$(GIT_COMMIT)</RepositoryCommit>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../../Tools/LeanCode.CodeAnalysis/LeanCode.CodeAnalysis.csproj"
Condition="'$(MSBuildProjectName)' != 'LeanCode.CodeAnalysis'
And '$(TargetFramework)' == 'net8.0'">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<OutputItemType>Analyzer</OutputItemType>
</ProjectReference>
</ItemGroup>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"
Condition="Exists($([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../')))"/>
</Project>