v0.8.3
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 = "b1084e7e3c38c9a23102c918282019fb6fcddb74ff4a816e1d0c76defc65d95f",
strip_prefix = "rules_dotnet-0.8.3",
url = "https://github.com/bazelbuild/rules_dotnet/archive/refs/tags/v0.8.3.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
- fix: Only generate F# reference assemblies if targeting .Net 7 or above by @purkhusid in #329
Full Changelog: v0.8.2...v0.8.3