- Hands-On Mobile Development with .NET Core
- Can Bilgin
- 82字
- 2021-06-24 13:55:29
Defining a framework
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: