-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
60 lines (60 loc) · 3.12 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Project>
<!-- Build options -->
<PropertyGroup>
<_ContinuousIntegrationBuild Condition="'$(TF_BUILD)' == 'true' or '$(GITHUB_ACTIONS)' == 'true' or '$(GITLAB_CI)' == 'true'">True</_ContinuousIntegrationBuild>
<LangVersion>latest</LangVersion>
<!--<TreatWarningsAsErrors Condition="'$(Configuration)' != 'Debug'">true</TreatWarningsAsErrors>-->
<Deterministic>true</Deterministic>
<LatestTargetFramework>net6.0</LatestTargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ValidateProjectTargets>true</ValidateProjectTargets>
<Features>strict</Features>
<AnalysisLevel>6.0</AnalysisLevel>
<EnableNETAnalyzers>false</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>false</RunAnalyzersDuringLiveAnalysis>
<RunAnalyzers>false</RunAnalyzers>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<PackageOutputPath>$(RepoRootPath)bin\Packages\$(Configuration)\NuGet\</PackageOutputPath>
</PropertyGroup>
<!-- disable the nullable warnings when compiling for target that haven't annotation -->
<PropertyGroup Condition="'$(TargetFramework)' != '$(LatestTargetFramework)'">
<NoWarn>$(NoWarn);8600;8601;8602;8603;8604</NoWarn>
</PropertyGroup>
<!-- Analyzers -->
<!-- <ItemGroup>
<PackageReference Include="Adom.Analyzer" Version="1.0.665">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime;build;native;contentfiles;analyzers;buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup> -->
<!-- Package configuration -->
<PropertyGroup>
<_PackageReadmeFilePath Condition="Exists('$(MSBuildProjectDirectory)\readme.md')">$(MSBuildProjectDirectory)\readme.md</_PackageReadmeFilePath>
<Authors>Comlan William CONTAYON</Authors>
<Company>HADEM</Company>
<PackageProjectUrl>https://github.com/wcontayon/Adom.KQL/</PackageProjectUrl>
<RepositoryUrl>https://github.com/wcontayon/Adom.KQL.git</RepositoryUrl>
<RepositoryType>github</RepositoryType>
<!-- <PackageIcon>icon.png</PackageIcon> -->
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<!-- https://github.com/NuGet/Home/issues/10791 -->
<!--<PackageReadmeFile Condition="$(_PackageReadmeFilePath) != ''">readme.md</PackageReadmeFile>-->
</PropertyGroup>
<ItemGroup>
<!-- <None Include="$(MSBuildThisFileDirectory)\icon.png" Pack="true" PackagePath="" Visible="false" /> -->
<None Include="$(MSBuildThisFileDirectory)\LICENSE.txt" Pack="true" PackagePath="" Visible="false" />
<None Include="$(_PackageReadmeFilePath)" Pack="true" PackagePath="" Visible="false" Condition="$(_PackageReadmeFilePath) != ''" />
</ItemGroup>
<!-- <ItemGroup>
<EditorConfigFiles Include=".editorconfig" />
</ItemGroup> -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')">
<Version>3.4.255</Version>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>