Craft a .NET app¶
This how-to guide covers the steps, decisions, and implementation details that are unique when crafting a snap of an app built using .NET. We’ll work through the aspects unique to .NET-based apps by examining two existing project files: a .NET command-line tool and an Avalonia desktop app.
Command-line apps¶
The whatime example targets core22, where .NET parts use the original .NET plugin. For core24 and newer bases, see the Avalonia example below.
Example whatime project file¶
The following code comprises the project file of a .NET tool, whatime. This project is a CLI command for returning the current time in cities across the globe.