3 ms·
There are open-source rules for that, but at my place of work, we found those lacking. We had to write our own set of rules which would basically take all the s
by keddad 4y ago
There are open-source rules for that, but at my place of work, we found those lacking. We had to write our own set of rules which would basically take all the source files for a given target, generate MSbuild files depending on the target type and call it from Bazel to build the code in this isolated environment. Another problem are nugets: you have to wrap each in a Bazel target in order to make it available during build, and analyze them beforehand to understand what kind of outputs (like .dlls) will they generate during build. It's a bit of a mess, sadly.
- DC-3 4y agoThat's what I feared. Have you got any solution to make this play nicely with Visual Studio?
- substation13 4y agoYou will need to maintain MS Build files alongside the Bazel definitions. In theory the MS Build files can be generated from the Bazel definitions but someone has to write that tool.