-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
47 lines (42 loc) · 2.32 KB
/
Directory.Build.props
File metadata and controls
47 lines (42 loc) · 2.32 KB
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
<Project>
<PropertyGroup>
<LangVersion>12.0</LangVersion>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<PackageDescription>Some extensions method for Type and Assembly, that not include in official System.Reflection.</PackageDescription>
<Authors>Selectorsvt</Authors>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/Selectorsvt/Extended.System.Reflection</RepositoryUrl>
<PackageOutputPath>.\nupkg</PackageOutputPath>
<Version>1.0.3</Version>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable; NU1605;</WarningsAsErrors>
<NoWarn></NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(CodeAnalysisRuleSet)' == ''">
<_DirectoryCodeAnalysisRuleSet Condition="'$(_DirectoryCodeAnalysisRuleSet)' == ''">StyleCop.ruleset</_DirectoryCodeAnalysisRuleSet>
<_DirectoryCodeAnalysisRuleSetBasePath Condition="'$(_DirectoryCodeAnalysisRuleSetBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryCodeAnalysisRuleSet)'))</_DirectoryCodeAnalysisRuleSetBasePath>
<CodeAnalysisRuleSet Condition="'$(_DirectoryCodeAnalysisRuleSetBasePath)' != '' and '$(_DirectoryCodeAnalysisRuleSet)' != ''">$([System.IO.Path]::Combine('$(_DirectoryCodeAnalysisRuleSetBasePath)', '$(_DirectoryCodeAnalysisRuleSet)'))</CodeAnalysisRuleSet>
</PropertyGroup>
<!-- Code Analysis -->
<PropertyGroup>
<!--
Enable Microsoft.CodeAnalysis.NetAnalyzers.
This Analyzers is enabled by default if the app is targeting net5.0.
For previous versions it has to be enabled either with EnableNETAnalyzers or AnalysisLevel
-->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\$(PackageLicenseFile)" Pack="true" PackagePath=""/>
<None Include="..\..\$(PackageReadmeFile)" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>