Skip to content

Releases: bazel-contrib/rules_dotnet

v0.17.5

02 Dec 09:39
ce96155
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.17.5")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

What's Changed

Full Changelog: v0.17.4...v0.17.5

v0.17.4

14 Nov 21:05
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.17.4")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

Full Changelog: v0.17.3...v0.17.4

v0.17.3

14 Nov 21:01
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.17.3")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

Full Changelog: v0.17.2...v0.17.3

v0.17.2

14 Nov 20:54
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.17.2")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

Full Changelog: v0.17.1...v0.17.2

v0.16.1

10 Oct 08:20
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.16.1")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

Full Changelog: v0.16.0...v0.16.1

v0.16.0

07 Oct 13:25
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.16.0")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

What's Changed

New Contributors

Full Changelog: v0.15.1...v0.16.0

v0.15.1

04 Apr 12:54
c42412a
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.15.1")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

What's Changed

Full Changelog: v0.15.0...v0.15.1

v0.15.0

03 Apr 20:25
Compare
Choose a tag to compare

Using Bzlmod with Bazel 7 and above

Requirements:

  • Bazel 7.0.0 or later
  • Bzlmod must be enabled
  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.15.0")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.200")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

What's Changed

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.14.0

22 Jan 22:55
1226189
Compare
Choose a tag to compare
v0.14.0 Pre-release
Pre-release

Using Bzlmod with Bazel 7 (We require Bazel 7 and above)

  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.14.0")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.100")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_dotnet",
    sha256 = "d01b0f44e58224deeb8ac81afe8701385d41b16c8028709d3a4ed5b46f1c48a0",
    strip_prefix = "rules_dotnet-0.14.0",
    url = "https://github.com/bazelbuild/rules_dotnet/releases/download/v0.14.0/rules_dotnet-v0.14.0.tar.gz",
)

load(
    "@rules_dotnet//dotnet:repositories.bzl",
    "dotnet_register_toolchains",
    "rules_dotnet_dependencies",
)

rules_dotnet_dependencies()

# Here you can specify the version of the .NET SDK to use.
dotnet_register_toolchains("dotnet", "8.0.100")

load("@rules_dotnet//dotnet:paket.rules_dotnet_nuget_packages.bzl", "rules_dotnet_nuget_packages")

rules_dotnet_nuget_packages()

What's Changed

Full Changelog: v0.13.0...v0.14.0

v0.13.0

17 Nov 01:04
c698c28
Compare
Choose a tag to compare
v0.13.0 Pre-release
Pre-release

Using Bzlmod with Bazel 7 (We require Bazel 7 and above)

  1. Add to your MODULE.bazel file:
bazel_dep(name = "rules_dotnet", version = "0.13.0")

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "7.0.101")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_dotnet",
    sha256 = "09021aa1d8a63395cd072e384cd560612e713f35a448da43a7e89087787aadc0",
    strip_prefix = "rules_dotnet-0.13.0",
    url = "https://github.com/bazelbuild/rules_dotnet/releases/download/v0.13.0/rules_dotnet-v0.13.0.tar.gz",
)

load(
    "@rules_dotnet//dotnet:repositories.bzl",
    "dotnet_register_toolchains",
    "rules_dotnet_dependencies",
)

rules_dotnet_dependencies()

# Here you can specify the version of the .NET SDK to use.
dotnet_register_toolchains("dotnet", "7.0.101")

load("@rules_dotnet//dotnet:paket.rules_dotnet_nuget_packages.bzl", "rules_dotnet_nuget_packages")

rules_dotnet_nuget_packages()

What's Changed

Full Changelog: v0.12.0...v0.13.0