rules_dotnet icon indicating copy to clipboard operation
rules_dotnet copied to clipboard

.NET rules for Bazel

Results 67 rules_dotnet issues
Sort by recently updated
recently updated
newest added

Currently the `next` branch does not resolve dependencies in the exact same way as MSBuild. The exact case that is not resolved the same way is the following: ``` LibA(net6.0)...

I would like to build a small blazor server using bazel. The server itself builds just fine, but ends up broken, because razor, cshtml.cs and various data files are not...

In recent versions you've switched to using toolchains and platforms for selecting the SDK version to be used. However, using a platform to resolve a single field in the toolchain...

I was looking to enable the 'TreatWarningsAsErrors' option on a bazel package, but I'm lost trying to find somewhere to put the [compiler options](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/errors-warnings) on the `csharp_binary` rule. Does an...

Bazel rules for go support using a "host" toolchain, that is, whatever toolchain is invoked by "go" command found in system path. Is it possible for rules dotnet support the...

Probably easiest to see the repro here: https://github.com/njlr/rules-dotnet-issue-native Basically a Nuget package with native code (`MonoGame.Framework.DesktopGL`) does not get linked in correctly: ```bash $ bazel run //:app Unhandled exception. System.TypeInitializationException:...

The context is to be able to execute pre-built assemblies with `dotnet`. I noticed a substitution variable here: https://github.com/bazelbuild/rules_dotnet/blob/5c95c346d2b362d56eeada72bdf9d42395eae405/dotnet/toolchain.bzl#L91 Is there an example of how to use it, e.g. in...

When I build a `tar` from an `fsharp_binary`, I find that the hash keeps changing: ```bash $ bazel build //... $ sha256sum ./bazel-bin/add-lambda/bundle-tar.tar ac9631140af3662b5af4c6cfaf9c55c1e165c3e20c60334e1fc71d3e3831f36f ./bazel-bin/add-lambda/bundle-tar.tar $ bazel clean $ bazel...

Probably easiest to just see this repo: https://github.com/njlr/bazel-expecto-repro Basically I have a `netstandard2.1` library that I am testing using a `net6.0` binary. The code builds with Bazel and the tests...

**Update** The issue is caused by a Paket package and an `fsharp_binary` sharing a name (`"expecto"`). This is easy to work-around (just rename), but it should be possible with the...