May 2019
Intermediate to advanced
504 pages
11h 50m
English
In the previous examples, we have been using netcoreapp2.1 as the target framework. While, for the self-contained deployment for this console application, this proves to be sufficient, if we were preparing a Xamarin application or a UWP. Net Standard, we would have been better off using target platform frameworks such as Xamarin.iOS.
The target platform framework can be changed using the <TargetFrameworks> project property. We would have to use the moniker assigned to the desired framework:
|
Target framework
|
Latest stable version
|
Moniker
|
.NET Standard
|
|
.NET Standard
|
2.0
|
netstandard2.0
|
N/A
|
|
.NET Core
|
2.1
|
netcoreapp2.1
|
2.0
|
|
.NET Framework
|
4.7.2
|
net472
|
2.0
|
Read now
Unlock full access