-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDirectory.Build.props
112 lines (83 loc) · 4.65 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
<Project>
<!-- Default TFMs to use when building and packaging -->
<PropertyGroup>
<!-- TFM used when coding in Visual Studio and when creating templates -->
<!-- All 'template.json' should provide a 'choice' for the default TFM -->
<DefaultTargetFramework Condition="'$(DefaultTargetFramework)' == ''">net9.0</DefaultTargetFramework>
<!-- TFMs used to build the abstractions and modules, by convention the default TFM is at the first position -->
<!-- In a cross-targeting build, some assets are only copied on the first TFM, by convention the default TFM -->
<CommonTargetFrameworks Condition="'$(CommonTargetFrameworks)' == ''">net8.0;net9.0</CommonTargetFrameworks>
</PropertyGroup>
<!-- Detect if the solution is opened in VS to limit the TFMs that are analyzed by Roslyn for performance reasons -->
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' == 'true' or '$(BuildingByReSharper)' == 'true'">
<CommonTargetFrameworks>$(DefaultTargetFramework)</CommonTargetFrameworks>
</PropertyGroup>
<!-- Default TFMs to use when building and packaging -->
<PropertyGroup>
<TargetFrameworks>$(CommonTargetFrameworks)</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Authors>Mike Alhayek</Authors>
<Company>CrestApps</Company>
<PackageIcon>CrestAppsLogo.png</PackageIcon>
<IsPackable>true</IsPackable>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/CrestApps/CrestApps.OrchardCore</RepositoryUrl>
<CompanyUrl>https://crestapps.com</CompanyUrl>
<CrestAppsDescription>CrestApps enhances the capabilities of Orchard Core, a modular and multi-tenant application framework built on ASP.NET Core. By leveraging Orchard Core's powerful foundation for creating dynamic, data-driven websites and applications, CrestApps introduces additional features and tools that empower developers to build more flexible, scalable, and feature-rich solutions.</CrestAppsDescription>
<PackageTags>CrestApps OrchardCore</PackageTags>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)/CrestAppsLogo.png">
<Pack>True</Pack>
<PackagePath>CrestAppsLogo.png</PackagePath>
</None>
</ItemGroup>
<PropertyGroup>
<VersionPrefix>1.2.0</VersionPrefix>
<VersionSuffix>preview</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)' != '' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<InformationalVersion></InformationalVersion>
</PropertyGroup>
<PropertyGroup>
<!-- https://aka.ms/vs-build-acceleration -->
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
</PropertyGroup>
<PropertyGroup Label="Analysis rules">
<AnalysisLevel>latest-Recommended</AnalysisLevel>
<!-- Member is explicitly initialized to its default value -->
<NoWarn>$(NoWarn);CA1805</NoWarn>
<!-- The behavior could vary based on the current user's locale setting -->
<NoWarn>$(NoWarn);CA1304;CA1305;CA1310</NoWarn>
<!-- Specify a culture or use an invariant version to avoid implicit dependency on current culture -->
<NoWarn>$(NoWarn);CA1311</NoWarn>
<!-- Do not declare static members on generic types -->
<NoWarn>$(NoWarn);CA1000</NoWarn>
<!-- For improved performance, use the LoggerMessage delegates -->
<NoWarn>$(NoWarn);CA1848</NoWarn>
<!-- Identifier contains type name -->
<NoWarn>$(NoWarn);CA1720</NoWarn>
<!-- Do not declare visible instance fields -->
<NoWarn>$(NoWarn);CA1051</NoWarn>
<!-- Avoid using cref tags with a prefix -->
<NoWarn>$(NoWarn);CA1200</NoWarn>
<!-- Rename type name X so that it does not end in 'Delegate', 'EventHandler', 'Permission' etc -->
<NoWarn>$(NoWarn);CA1711</NoWarn>
<!-- Parameter name differs from original overriden implemented name -->
<NoWarn>$(NoWarn);CA1725</NoWarn>
<!-- Reserved keyword -->
<NoWarn>$(NoWarn);CA1716</NoWarn>
<!-- Type owns disposable field(s) -->
<NoWarn>$(NoWarn);CA1001</NoWarn>
<!-- Exception type is not sufficiently specific -->
<NoWarn>$(NoWarn);CA2201</NoWarn>
<!-- Remove the underscores from member name -->
<NoWarn>$(NoWarn);CA1707</NoWarn>
<!-- Use PascalCase for named placeholders in the logging message template -->
<NoWarn>$(NoWarn);CA1727</NoWarn>
<!-- CA1861: Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array -->
<NoWarn>$(NoWarn);CA1861</NoWarn>
<!-- NU1605: NuGet Warning NU1605 -->
<NoWarn>$(NoWarn);NU1605</NoWarn>
<NoWarn>$(NoWarn),1573,1591,1712</NoWarn>
</PropertyGroup>
</Project>