C
C#2y ago
DaVinki

❔ Ignore fallback folders that don't exist in a NuGet config (MSB4018)?

I installed a "portable" .NET build of Godot that leaves behind a file %APPDATA%/NuGet/config/Godot.Offline.Config which defines a fallback folder in Godot's settings folder. The thing is, I have it on a USB drive so the file that was generated on my C drive points to a directory on my F drive. On my laptop, everything becomes broken, the .NET namespaces can't be found, and MSBB4018 is thrown when trying to build while the Godot config file exists. On my desktop, nothing is wrong and the file coexists. Why does indexing and building break on my laptop but not on my desktop? Why, when the fallback folder isn't found, is it not just ignored like it is on my desktop?
3 Replies
Anton
Anton2y ago
you could start by looking at the binary log (/bl in msbuild), though idk if you can add that flag in Godot
DaVinki
DaVinkiOP2y ago
The problem is when the USB with Godot isn't plugged into my laptop. When it's plugged in, the fallback folder can be found and building is fine. Without the USB, indexing in every IDE breaks and building fails on the restore task. The only fallback folder I have is that problematic USB which is said so in the build logs
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?