mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-29 07:07:24 +08:00
- Kestrel server is end of life for .NET Core 2.1, only support for .NET framework and netstandard2.0 - Use FrameworkReference to include ASPNET services for .NET Core 3.x and later - adjust the code signing for bindings.https - deprecate complextypes.symbols package - note: only netcoreapp3.1 and net6.0 frameworks yet support latest kestrel and allow to use MS.Ext.Logging library >=5.x with bindings.https. If netstandard2.0 or net462 is used, the Microsoft.Extensions.Logging library >= 3.x cause a TypeException in Microsoft...HttpHeader because a required class became obsolete in Platform.Extensions.
45 lines
2.2 KiB
XML
45 lines
2.2 KiB
XML
<Project>
|
|
<!-- Uncomment to suppress warning that .NET Core 2.1 is used with .NET 6 library. -->
|
|
<!--
|
|
<PropertyGroup>
|
|
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
|
|
</PropertyGroup>
|
|
-->
|
|
<Choose>
|
|
<!-- Note: .NET Core 2.x is end of life, removed netcoreapp2.1 from any target. -->
|
|
<!-- Visual Studio 2022, supports .NET Framework 4.6.2, .NET Core 3.1 and .NET 6 -->
|
|
<When Condition="'$(VisualStudioVersion)' == '17.0'">
|
|
<PropertyGroup>
|
|
<AppTargetFrameworks>net6.0;netcoreapp3.1;net462</AppTargetFrameworks>
|
|
<AppTargetFramework>net6.0</AppTargetFramework>
|
|
<TestsTargetFrameworks>net462;netcoreapp3.1;net6.0</TestsTargetFrameworks>
|
|
<LibTargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0</LibTargetFrameworks>
|
|
<LibxTargetFrameworks>net462;netstandard2.1;net6.0</LibxTargetFrameworks>
|
|
<HttpsTargetFrameworks>net462;netstandard2.0;netcoreapp3.1;net6.0</HttpsTargetFrameworks>
|
|
</PropertyGroup>
|
|
</When>
|
|
<!-- Visual Studio 2019, supports .NET Framework 4.6.2 and .NET Core 3.1 -->
|
|
<When Condition="'$(VisualStudioVersion)' == '16.0'">
|
|
<PropertyGroup>
|
|
<AppTargetFrameworks>netcoreapp3.1;net462</AppTargetFrameworks>
|
|
<AppTargetFramework>netcoreapp3.1</AppTargetFramework>
|
|
<TestsTargetFrameworks>net462;netcoreapp3.1</TestsTargetFrameworks>
|
|
<LibTargetFrameworks>net462;netstandard2.0;netstandard2.1</LibTargetFrameworks>
|
|
<LibxTargetFrameworks>net462;netstandard2.1</LibxTargetFrameworks>
|
|
<HttpsTargetFrameworks>net462;netstandard2.0;netcoreapp3.1</HttpsTargetFrameworks>
|
|
</PropertyGroup>
|
|
</When>
|
|
<!-- Visual Studio 2017 and earlier, support only .NET Framework 4.6.2 because .NET Core 2.x is end of life. -->
|
|
<Otherwise>
|
|
<PropertyGroup>
|
|
<AppTargetFrameworks>net462</AppTargetFrameworks>
|
|
<AppTargetFramework>net462</AppTargetFramework>
|
|
<TestsTargetFrameworks>net462</TestsTargetFrameworks>
|
|
<LibTargetFrameworks>net462</LibTargetFrameworks>
|
|
<LibxTargetFrameworks>net462</LibxTargetFrameworks>
|
|
<HttpsTargetFrameworks>net462</HttpsTargetFrameworks>
|
|
</PropertyGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
</Project>
|