-
Notifications
You must be signed in to change notification settings - Fork 353
/
TargetFrameworkDefaults.props
46 lines (36 loc) · 2.19 KB
/
TargetFrameworkDefaults.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
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
<Project>
<!-- Repositories using the arcade SDK can stay up to date with their target framework more easily using the properties in this file.
Examples:
<TargetFrameworks>$(NetCurrent)</TargetFrameworks>
<TargetFrameworks>$(NetCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
<TargetFrameworks>$(NetCurrent);$(NetMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
-->
<PropertyGroup>
<!-- The TFM of the major release of .NET that the Arcade SDK aligns with. -->
<NetCurrent>net9.0</NetCurrent>
<!-- The previously released version of .NET.
Undefined when NetMinimum and NetPrevious are identical. -->
<NetPrevious />
<!-- Lowest supported version of .NET at the time of the release of NetCurrent.
E.g. net8.0 when NetCurrent is net9.0. -->
<NetMinimum>net8.0</NetMinimum>
<!-- The TFM of the latest version of .NET Framework. -->
<NetFrameworkCurrent>net481</NetFrameworkCurrent>
<!-- Lowest supported version of .NET Framework the time of the release of NetCurrent.
E.g. if NetCurrent is net9.0, then NetFrameworkMinimum is net462. -->
<NetFrameworkMinimum>net462</NetFrameworkMinimum>
</PropertyGroup>
<PropertyGroup>
<!-- The current version of .NET that tools (i.e. msbuild) target.
MSBuild tasks and tools should use this version to target the latest TFM that is supported by tooling.
Identical with NetCurrent when building from source. -->
<NetToolCurrent Condition="'$(DotNetBuildFromSource)' != 'true'">net9.0</NetToolCurrent>
<NetToolCurrent Condition="'$(DotNetBuildFromSource)' == 'true'">$(NetCurrent)</NetToolCurrent>
<!-- Lowest version of .NET at the time of the release of NetCurrent that is supported by tooling.
Undefined when NetToolCurrent and NetToolMinimum are identical. -->
<NetToolMinimum>net6.0</NetToolMinimum>
<!-- The version of .NET Framework that tools (i.e. msbuild tasks) should target. -->
<NetFrameworkToolCurrent>net472</NetFrameworkToolCurrent>
</PropertyGroup>
</Project>