Going beyond the default cross-platform app structure
So far, we have created a cross-platform app that contains the heads for every platform. But there are also different project types that you can use to write your Uno Platform app, which we will cover in this section.
Note
The Uno Platform Visual Studio solution templates extension only contains a subset of the available Uno Platform types. If you haven't already installed the templates using the dotnet
CLI, do this now by opening a terminal and running dotnet new -i Uno.ProjectTemplates.Dotnet
, since we will use these in the remaining part of the chapter.
The multi-platform library project type
One of the most important project types besides the Multi-Platform App (Uno Platform) project type is the Cross-Platform Library (Uno Platform) type. The Cross-Platform Library (Uno Platform) project type allows you to write code that can be consumed by Uno Platform apps. The easiest way of getting to know the project type...