-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
38 lines (30 loc) · 1.52 KB
/
Directory.Build.props
File metadata and controls
38 lines (30 loc) · 1.52 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
<Project>
<!-- Import framework-specific configurations -->
<Import Project="Framework.props" />
<PropertyGroup>
<!-- Define supported frameworks centrally -->
<SupportedTargetFrameworks>net8.0;net9.0</SupportedTargetFrameworks>
<!-- Common properties for all projects -->
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningsAsErrors />
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Package metadata for libraries -->
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright © Microsoft Corporation. All rights reserved.</Copyright>
<Company>Microsoft Corporation</Company>
<Product>Microsoft Health Data Anonymization Tools</Product>
<!-- Version information - Use BUILD_VERSION from pipeline if available -->
<VersionPrefix Condition="'$(BUILD_VERSION)' != ''">$(BUILD_VERSION)</VersionPrefix>
<VersionPrefix Condition="'$(BUILD_VERSION)' == ''">1.0.0</VersionPrefix>
<VersionSuffix Condition="'$(Configuration)' == 'Debug'">dev</VersionSuffix>
</PropertyGroup>
<!-- Framework-specific configurations -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<DefineConstants>$(DefineConstants);NET8_0_OR_GREATER</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net9.0'">
<DefineConstants>$(DefineConstants);NET9_0_OR_GREATER</DefineConstants>
</PropertyGroup>
</Project>