- 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=1738947908-B980BAZeJAt30yAnBal8lTLAft3R1YwR-0-7b2e206b782f67a059bafa89f4deed7b)