Releases: bazel-contrib/rules_dotnet
Releases · bazel-contrib/rules_dotnet
v0.17.5
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
- Update NUnit 3 package to latest version by @purkhusid in #464
Full Changelog: v0.17.4...v0.17.5
v0.17.4
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
- Use assembly name for DotnetAssembly{Compile,Runtime}Info by @sin-ack in #435
- Use new host constraints in
@platforms
by @Wyverald in #437 - Publish appsettingsjson by @mkempers in #438
- Fix default transition reset by @purkhusid in #453
- Rework Analyzer/Source Generator support by @purkhusid in #452
New Contributors
- @sin-ack made their first contribution in #435
- @Wyverald made their first contribution in #437
- @mkempers made their first contribution in #438
Full Changelog: v0.15.1...v0.16.0
v0.15.1
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
- Add tests for cross publishing by @purkhusid in #428
- Add musl/alpine packs by @purkhusid in #429
Full Changelog: v0.15.0...v0.15.1
v0.15.0
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- 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
- Fix 'repo_mapping_manifest' property check for compatibility by @karataliu in #412
- Fix //dotnet:defs target to allow users to create stardoc docs using it by @michaelboyd2 in #403
- Add run_analyzers option by @karataliu in #419
- bugfix/issue-416-fsharp-debug-release-defines by @njlr in #420
- Remove unnecessary use of ctx.resolve_tools. by @tjgq in #425
- .Net SDK packs by @purkhusid in #426
- Rule API cleanup by @purkhusid in #427
New Contributors
- @karataliu made their first contribution in #412
- @michaelboyd2 made their first contribution in #403
- @njlr made their first contribution in #420
- @tjgq made their first contribution in #425
Full Changelog: v0.14.0...v0.15.0
v0.14.0
Using Bzlmod with Bazel 7 (We require Bazel 7 and above)
- 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
- net8.0 by @purkhusid in #398
- Add devcontainer config by @purkhusid in #408
- Pre BCR submit cleanup by @purkhusid in #409
Full Changelog: v0.13.0...v0.14.0
v0.13.0
Using Bzlmod with Bazel 7 (We require Bazel 7 and above)
- 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
- bzlmod by @purkhusid in #387
Full Changelog: v0.12.0...v0.13.0