The dotnet plugin

The dotnet plugin is used to build .NET Core runtime parts.

The plugin uses the .NET SDK to install dependencies via the NuGet package manager, and follows the standard semantics for a .NET Core project.

Plugin-specific features and syntax are dependent on which base is being used, as outlined below:

For examples, search GitHub for projects using the plugin.

This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.

base: core22

This plugin uses the following plugin-specific keywords:

  • dotnet-build-configuration (string, default: Release) The dotnet build configuration to use.

  • dotnet-self-contained-runtime-identifier (string) Runtime identifier to use when building a self-contained application (e.g. linux-x64).

Requires Snapcraft version 7.0+.

base: core18 | core

This plugin uses the following plugin-specific keywords:

  • debug: builds using a Debug configuration.

Requires Snapcraft version 3.x+.

Last updated 8 hours ago.