samhowes / rules_msbuild

Build .csproj files with Bazel
Apache License 2.0
6 stars 3 forks source link

Building on Apple Silicon Fails #206

Open samhowes opened 2 years ago

samhowes commented 2 years ago

➜ rules_msbuild git:(master) bazel build //tests/examples/HelloBazel ERROR: /private/var/tmp/_bazel_sam/876be34587d457dfba49d260abb8b382/external/dotnet_sdk/BUILD.bazel:9:19: no such target '//dotnet:arm64': target 'arm64' not declared in package 'dotnet' (did you mean 'amd64'?) defined by /Users/sam/dev/rules_msbuild/dotnet/BUILD and referenced by '@dotnet_sdk//:dotnet_windows_amd64' ERROR: /Users/sam/dev/rules_msbuild/tests/examples/HelloBazel/BUILD:4:15: While resolving toolchains for target //tests/examples/HelloBazel:HelloBazel: invalid registered toolchain '@dotnet_sdk//:dotnet_windows_amd64': Analysis failed ERROR: Analysis of target '//tests/examples/HelloBazel:HelloBazel' failed; build aborted: INFO: Elapsed time: 0.537s INFO: 0 processes. FAILED: Build did NOT complete successfully (2 packages loaded, 1 target configured)