Skip to content

.NET

Curated name dotnet. Installs the .NET SDK via the upstream devcontainers/features/dotnet feature.

Terminal window
monoceros init acme --with-languages=dotnet
monoceros add-language acme dotnet:8.0
Terminal window
monoceros remove-language acme dotnet

Or delete the entry from acme.yml by hand and re-run monoceros apply acme - the yml is the source of truth.

Terminal window
monoceros add-language acme dotnet:8.0

Supported: 10.0, 9.0, 8.0, 7.0, 6.0 (also lts, latest).

Set these by adding the feature directly (see Other feature options):

OptionDefaultNotes
versionlatestPin via the :version suffix instead.
additionalVersions(empty)Comma-separated extra SDK versions.
aspNetCoreRuntimeVersions(empty)Comma-separated ASP.NET Core runtimes.
workloads(empty)Comma-separated workload identifiers.

Full option list: upstream feature.