forked from OPCFoundation/UA-.NETStandard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
targets.props
36 lines (36 loc) · 1.67 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
<Project>
<PropertyGroup>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>
<Choose>
<!-- Visual Studio 2022 -->
<When Condition="'$(VisualStudioVersion)' == '17.0'">
<PropertyGroup>
<AppTargetFrameworks>net462;netcoreapp3.1;net6.0</AppTargetFrameworks>
<AppTargetFramework>net6.0</AppTargetFramework>
<TestsTargetFrameworks>net462;netcoreapp2.1;netcoreapp3.1;net6.0</TestsTargetFrameworks>
<LibTargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0</LibTargetFrameworks>
<LibxTargetFrameworks>net462;netcoreapp2.1;netstandard2.1;net6.0</LibxTargetFrameworks>
</PropertyGroup>
</When>
<!-- Visual Studio 2019 -->
<When Condition="'$(VisualStudioVersion)' == '16.0'">
<PropertyGroup>
<AppTargetFrameworks>net462;netcoreapp3.1</AppTargetFrameworks>
<AppTargetFramework>netcoreapp3.1</AppTargetFramework>
<TestsTargetFrameworks>net462;netcoreapp2.1;netcoreapp3.1</TestsTargetFrameworks>
<LibTargetFrameworks>net462;netstandard2.0;netstandard2.1</LibTargetFrameworks>
<LibxTargetFrameworks>net462;netcoreapp2.1;netstandard2.1</LibxTargetFrameworks>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<AppTargetFrameworks>net462;netcoreapp2.1</AppTargetFrameworks>
<AppTargetFramework>netcoreapp2.1</AppTargetFramework>
<TestsTargetFrameworks>netcoreapp2.1</TestsTargetFrameworks>
<LibTargetFrameworks>net462;netstandard2.0</LibTargetFrameworks>
<LibxTargetFrameworks>net462;netcoreapp2.1</LibxTargetFrameworks>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>