-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtargets.props
61 lines (60 loc) · 3.2 KB
/
targets.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
<Project>
<!--
Supported frameworks (included in NuGet packages):
.NET Core 9 until 12-MAY-2026
.NET Core 8 until 10-NOV-2026
.NET 4.8
.NET 4.7.2
No longer supported frameworks because of end of life:
.NET Core 2.0 is end of life since 1-OCT-2018. No support possible anymore.
.NET Core 2.1 is end of life since 21-AUG-2021. No support possible anymore.
.NET Core 2.2 is end of life since 31-DEC-2019. No support possible anymore.
.NET Core 3.0 is end of life since 03-MAR-2020. No support possible anymore.
.NET Core 3.1 is end of life since 13-DEC-2021. No support possible anymore.
.NET 6.0 is end of life since until 12-NOV-2024. No support possible anymore.
.NET 5.0 is end of life since 10-MAY-2022. No support possible anymore.
.NET 4.6 is end of life since 26-APR-2022. No support possible anymore.
.NET 4.6.1 is end of life since 26-APR-2022. No support possible anymore.
.NET Core 7 until 14-MAY-2024. No support possible anymore.
Possible custom frameworks (NOT included in standard build and NuGet packages):
.NET 4.6.2
-->
<Choose>
<!-- Note: .NET Core 2.x and 3.x is end of life, removed netcoreapp2.1/3.1 from any target. -->
<!-- Note: .NET Framework 4.6.2 deprecated for 1.4.372, removed net462 from any target except complex types. -->
<!-- Visual Studio 2022, supports .NET Framework 4.7.2/4.8, .NET Standard2.0/2.1, .NET 8 and .NET 9-->
<When Condition="'$(VisualStudioVersion)' == '17.0'">
<PropertyGroup>
<AnalysisLevel>preview</AnalysisLevel>
<AnalysisMode>all</AnalysisMode>
<AnalysisModeStyle>default</AnalysisModeStyle>
<WorkshopClientTargetFrameworks>net9.0-windows;net48;net472</WorkshopClientTargetFrameworks>
<SampleClientTargetFrameworks>net48;net472</SampleClientTargetFrameworks>
<AppTargetFrameworks>net9.0-windows;net48;net472</AppTargetFrameworks>
<LibTargetFrameworks>net9.0-windows;net48;net472</LibTargetFrameworks>
<ComTargetFrameworks>net9.0-windows;net48;net472</ComTargetFrameworks>
</PropertyGroup>
</When>
<!-- Visual Studio 2019, supports .NET Framework 4.8 and .NET Core 3.1 -->
<When Condition="'$(VisualStudioVersion)' == '16.0'">
<PropertyGroup>
<AnalysisLevel>latest</AnalysisLevel>
<WorkshopClientTargetFrameworks>net48</WorkshopClientTargetFrameworks>
<SampleClientTargetFrameworks>net48</SampleClientTargetFrameworks>
<AppTargetFrameworks>net48</AppTargetFrameworks>
<LibTargetFrameworks>net48</LibTargetFrameworks>
<ComTargetFrameworks>net48</ComTargetFrameworks>
</PropertyGroup>
</When>
<!-- Visual Studio 2017 and earlier, support only .NET Framework 4.8 because .NET Core 2.x is end of life. -->
<Otherwise>
<PropertyGroup>
<WorkshopClientTargetFrameworks>net48</WorkshopClientTargetFrameworks>
<AppTargetFrameworks>net48</AppTargetFrameworks>
<SampleClientTargetFrameworks>net48</SampleClientTargetFrameworks>
<LibTargetFrameworks>net48</LibTargetFrameworks>
<ComTargetFrameworks>net48</ComTargetFrameworks>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>