Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jan 12:30
· 85 commits to master since this release

Initial next release

This release is the first release of the revamped rules_dotnet
The new rules bring better NuGet handling, better binary publishing
and better handling for targeting various framework versions.

While we are still in the 0.x.x versions of the rules we are expecting
some breaking changes to happen in the future releases.

If there is anything that you would like to see added to the rules
then please create an issue for it or join the #dotnet channel on
the Bazel slack (https://slack.bazel.build/)

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 = "a33b9184b6da5208fe8de93bbd94da7b75ad06cd44146f023ccd6dbbfb2b169b",
    strip_prefix = "rules_dotnet-0.8.0",
    url = "https://github.com/bazelbuild/rules_dotnet/archive/refs/tags/v0.8.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:rules_dotnet_nuget_packages.bzl", "rules_dotnet_nuget_packages")

rules_dotnet_nuget_packages()

What's Changed

New Contributors

Full Changelog: 0.0.7...v0.8.0