samhowes / rules_msbuild

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

IDE expects restore files in obj instead of restore #189

Closed samhowes closed 2 years ago

samhowes commented 2 years ago

The bulider restores files to <package>/restore but the ide expects them in <package>/obj. This results in the ide restoring its own packages.

Because bazel uses relative paths, Rider throws exceptions when trying to restore. This is likely resolve by maintaining two sets of files: one with absolute paths for the ide, and one with relative paths with bazel.