Skip to content

Releases: bazel-contrib/rules_dotnet

v0.8.3

10 Jan 15:34
9177149
Compare
Choose a tag to compare

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

v0.8.2

10 Jan 12:41
1ab95e0
Compare
Choose a tag to compare

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 = "849da4fa588cb403235aeb7094e6add52790e4cdefe9dd2ec223d68fd4574e82",
    strip_prefix = "rules_dotnet-0.8.2",
    url = "https://github.com/bazelbuild/rules_dotnet/archive/refs/tags/v0.8.2.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()

Full Changelog: v0.8.0...v0.8.2

v0.8.0

05 Jan 12:30
Compare
Choose a tag to compare

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