Releases: bazel-contrib/rules_dotnet
Releases · bazel-contrib/rules_dotnet
v0.20.5
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.20.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")Full Changelog: v0.20.4...v0.20.5
v0.20.3
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.20.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.20.2...v0.20.3
v0.20.1
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.20.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.20.0...v0.20.1
v0.20.0
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.20.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
- Add e2e test for web sdk by @purkhusid in #503
- Update SDKs by @purkhusid in #504
- Exclude compiler references to System.EnterpriseServices.Wrapper.dll by @lapwingcloud in #506
- Fix handling of native runtime dependencies by @purkhusid in #515
- chore(deps): upgrade to bazel-lib 3 by @alexeagle in #514
- NuGet Tools Support by @purkhusid in #516
- Update SDKs by @purkhusid in #517
- Use
execin Bash launcher template by @sin-ack in #518
New Contributors
- @lapwingcloud made their first contribution in #506
- @alexeagle made their first contribution in #514
Full Changelog: v0.19.2...v0.20.0
v0.19.2
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.19.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")What's Changed
- CI Upgrades by @purkhusid in #497
Full Changelog: v0.19.1...v0.19.2
v0.19.0
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.19.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
- include assembly version in deps.json by @mohaldu in #487
- Mark extensions as reproducible by @purkhusid in #489
- Fix runtime/targeting pack conflicts when publishing self-contained by @purkhusid in #491
- Add Resource Assembly handling by @purkhusid in #492
New Contributors
Full Changelog: v0.18.2...v0.19.0
v0.18.2
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.18.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")What's Changed
- csharp_assembly: Do not expose analyzer compile-/runtime deps to users by @sin-ack in #482
- Update SDKs by @purkhusid in #483
Full Changelog: v0.18.1...v0.18.2
v0.18.1
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.18.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
- Slim down runfiles in publish_binary by @purkhusid in #481
Full Changelog: v0.18.0...v0.18.1
v0.18.0
Using Bzlmod with Bazel 7 and above
Requirements:
- Bazel 7.0.0 or later
- Bzlmod must be enabled
- Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_dotnet", version = "0.18.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")Breaking changes
- The runfiles handling in
publish_binaryhas been changed in a way that might break some users depending on how they package their binaries to move them out of Bazel. If you are usingpkg_taryou need to make sure that you are usinginclude_runfiles = True.
What's Changed
- Targeting fixes by @sin-ack in #470
- Map embedded resource names like MSBuild by @sin-ack in #475
- Implement NET*_OR_GREATER preprocessor defines by @sin-ack in #478
- Pass dependencies of analyzers as analyzer DLLs by @sin-ack in #473
- Upgrade to Bazel 8 by @purkhusid in #479
Full Changelog: v0.17.5...v0.18.0
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.bazelfile:
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