v0.8.5
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_dotnet",
sha256 = "ddf7d09c28b7f23372fc509d2145ec8e4640d76bbcfa584b5dc8af14c38ed92f",
strip_prefix = "rules_dotnet-0.8.5",
url = "https://github.com/bazelbuild/rules_dotnet/archive/refs/tags/v0.8.5.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:rules_dotnet_nuget_packages.bzl", "rules_dotnet_nuget_packages")
rules_dotnet_nuget_packages()
What's Changed
- Make compatible with Bazel 7.0 by @purkhusid in #334
- fixed nuget structure for netstandard20 and netstandard21 by @Place1 in #335
- fix: include runtime files in resolved toolchain #298 by @Place1 in #336
- Update .Net SDK versions and RIDs by @purkhusid in #338
New Contributors
Full Changelog: v0.8.4...v0.8.5