samhowes / rules_msbuild

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

NuGet Fetch work well with NuGetFallbackFolders #177

Closed samhowes closed 2 years ago

samhowes commented 2 years ago

When there is a NuGetFallback folder in the dotnet sdk root /usr/local/share/dotnet/sdk/NuGetFallbackFolder on mac, the NuGet parser fails to account for packages existing in there instead of the global packages folder.

This results in bazel failing because the input files weren't found.

A workaround is to delete the NuGetFallback folder.

samhowes commented 2 years ago

Likely won't fix because it appears that current sdk versions don't use this anymore. https://stackoverflow.com/a/51499971/2524934