samhowes / rules_msbuild

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

Launcher fails to run exe from external workspace on windows #181

Closed samhowes closed 2 years ago

samhowes commented 2 years ago

ERROR: C:/users/sam/dev/sql/bazel/BUILD.bazel:3:12: CompileDacpac foo.dacpac failed: (Exit 2): builder.exe failed: error executing command bazel-out/x64_windows-opt-exec-2B5CBBC6/bin/external/rules_tsql/tsql/tools/builder/builder.ex e build --label //:foo --output bazel-out/x64_windows-fastbuild/bin/foo.dacpac --properties_file ... (remaining 3 argument(s) skipped) panic: missing required runfile path item ../rules_tsql/tsql/tools/builder/net5.0, Runfile ../rules_tsql/tsql/tools/builder/net5.0: could not locate file

goroutine 1 [running]: main.getRunfile(0xc00000e120, 0x27, 0x2f, 0x3) dotnet/tools/launcher/dotnet_launcher.go:59 +0x148 main.getBuiltPath(0xc0000743c0, 0x5095fb, 0xf, 0x6067e0, 0x0) dotnet/tools/launcher/dotnet_launcher.go:72 +0x1a5 main.LaunchDotnet(0xc000114000, 0xa, 0x10, 0xc0000743c0) dotnet/tools/launcher/dotnet_launcher.go:158 +0x8cb main.main() dotnet/tools/launcher/launcher_main.go:23 +0x19b Target //:foo failed to build