- 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:
![](https://epubservercos.yuewen.com/33AE73/19470378308806506/epubprivate/OEBPS/Images/1.jpg?sign=1739318217-BSOJlagHwPQmRktsPKkUYNTUAzI8CCOi-0-1610a971ce7187eb49c9109aa222671a)