-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathCommon.props
More file actions
44 lines (40 loc) · 1.67 KB
/
Common.props
File metadata and controls
44 lines (40 loc) · 1.67 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
<Project>
<!-- Each project must import this file ! -->
<PropertyGroup>
<!-- Allow all build configurations for every project -->
<Configurations>Debug;Release;EI_Debug;EI_Release</Configurations>
<!-- Targeting .NET 8.0, with default language level (C# 12) -->
<TargetFramework>net8.0</TargetFramework>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<!-- Nullable checks as errors -->
<WarningsAsErrors>Nullable</WarningsAsErrors>
<!-- Enable all rules for code analyzers -->
<AnalysisMode>All</AnalysisMode>
<!-- Versioning -->
<Version>0.0.0-local</Version>
<!-- NuGet Packaging -->
<Authors>TypeCobol Team</Authors>
<Company>TypeCobol Team</Company>
</PropertyGroup>
<!-- Customize build configs -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<EnableNETAnalyzers>false</EnableNETAnalyzers>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='EI_Debug|AnyCPU'">
<EnableNETAnalyzers>false</EnableNETAnalyzers>
<Optimize>false</Optimize>
<!-- Custom compilation constant -->
<DefineConstants>$(DefineConstants);DEBUG;EUROINFO_RULES</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='EI_Release|AnyCPU'">
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<Optimize>true</Optimize>
<!-- Custom compilation constant -->
<DefineConstants>$(DefineConstants);RELEASE;EUROINFO_RULES</DefineConstants>
</PropertyGroup>
</Project>