dotnet

.NET is the free, open-source, cross-platform framework for building modern apps and powerful cloud services.

Latest version: 9.0.3

Add to xmake.lua

add_requires("dotnet 9.0.3")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2026-02-22T15:34:35.000Z

Platforms

  • linux: x86_64, arm64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm64

Options

No configurable options.

Versions

  • 7.0.4
  • 7.0.15
  • 8.0.1
  • 8.0.6
  • 9.0.3

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "dotnet 9.0.3"

show info

xrepo info "dotnet"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("dotnet 9.0.3")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("dotnet")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "dotnet 9.0.3" shell