-
Notifications
You must be signed in to change notification settings - Fork 19
/
Directory.Build.props
127 lines (108 loc) · 5.91 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" Condition="'$(ImportByWildcardBeforeMicrosoftCommonTargets)' == 'true' and exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportBefore')"/>
<PropertyGroup>
<RunAnalyzers>true</RunAnalyzers>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<NoWarn>1701;1702;8032;8981;S125;S6967;S6964;S6670;S6934;S3267;S3431;IDE0290</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>Shared.Key.pfx</AssemblyOriginatorKeyFile>
<Description>Plugin Manager</Description>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<WarningLevel>5</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<BaseOutputPath>$(SolutionDir)Output\$(Platform)</BaseOutputPath>
<XmlDocsPath>$(SolutionDir)Docs\XmlFiles</XmlDocsPath>
</PropertyGroup>
<PropertyGroup>
<RepositoryUrl>https://github.com/k3ldar/.NetCorePluginManager</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Plugin Manager</PackageTags>
<PackageProjectUrl>http://pluginmanager.website/</PackageProjectUrl>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<PackageReleaseNotes>Supports net 6.0 and net8.0</PackageReleaseNotes>
<PackageTags>asp net core plugin manager system admin internal statistics</PackageTags>
</PropertyGroup>
<PropertyGroup>
<FrameWorkLatestVersion>net8.0</FrameWorkLatestVersion>
<FrameWorkAllSupported>net8.0;net6.0;</FrameWorkAllSupported>
<FrameWorkWithNetStandard>$(FrameWorkAllSupported)netstandard2.0</FrameWorkWithNetStandard>
</PropertyGroup>
<PropertyGroup>
<SharedVer>3.16.0</SharedVer>
<SharedWinVer>1.6.0</SharedWinVer>
</PropertyGroup>
<PropertyGroup>
<Version>5.6.2</Version>
<AssemblyVersion>$(Version).0</AssemblyVersion>
<LangVersion>latest</LangVersion>
<Authors>Simon Carter ([email protected])</Authors>
<Company>Simon Carter</Company>
<Copyright>Copyright (c) 2018 - 2024. Simon Carter. All rights reserved.</Copyright>
<Description>Plugin Manager</Description>
</PropertyGroup>
<!-- Warning disabled whilst net 6 supported -->
<PropertyGroup Condition="'$(NET_8_0)'=='1'">
<NoWarn>$(NoWarn);CA1510;CA1512;CA1513</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Debug|net8.0'">
<DefineConstants>CODE_ANALYSIS;DEBUG;TRACE;NET_CORE;ISO_WEEK;ATTR_OS;NET_5_ABOVE;NET_6_ABOVE;NET_7_ABOVE;NET_8_ABOVE;NET_8_0;NET_8_X</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>$(DebugSymbols)</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|net8.0'">
<DefineConstants>CODE_ANALYSIS;NET_CORE;ISO_WEEK;ATTR_OS;NET_5_ABOVE;NET_6_ABOVE;NET_7_ABOVE;NET_8_ABOVE;NET_8_0;NET_8_X</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>$(DebugSymbols)</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Debug|net6.0'">
<DefineConstants>CODE_ANALYSIS;DEBUG;TRACE;NET_CORE;NET_6_0;NET_6_X;ISO_WEEK;ATTR_OS;NET_5_ABOVE;NET_6_ABOVE</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>$(DebugSymbols)</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|net6.0'">
<DefineConstants>CODE_ANALYSIS;NET_CORE;NET_6_0;NET_6_X;ISO_WEEK;ATTR_OS;NET_5_ABOVE;NET_6_ABOVE</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>$(DebugSymbols)</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Debug|netstandard2.0'">
<DefineConstants>CODE_ANALYSIS;DEBUG;TRACE;NET_STANDARD</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>$(DebugSymbols)</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|netstandard2.0'">
<DefineConstants>CODE_ANALYSIS;NET_STANDARD</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>$(DebugSymbols)</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Debug|netstandard2.1'">
<DefineConstants>CODE_ANALYSIS;DEBUG;TRACE;NET_STANDARD;ISO_WEEK</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>$(DebugSymbols)</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|netstandard2.1'">
<DefineConstants>CODE_ANALYSIS;NET_STANDARD;ISO_WEEK</DefineConstants>
<CheckForOverflowUnderflow>$(CheckForOverflowUnderflow)</CheckForOverflowUnderflow>
<DebugType>$(DebugType)</DebugType>
<DebugSymbols>%(DebugSymbols)</DebugSymbols>
</PropertyGroup>
</Project>