How to use a local project instead of an online nuget package
I'm trying to fix a bug with a library for Godot I found on Github, GodotSharp.SourceGenerators. I cloned it and think I fixed the bug, but I need to test it on my Godot project. I've managed to build the nupkg and stick it in a folder that Nuget is configured to use as a feed, and I can see in Rider that the library is generating the correct source code.
However, I can't actually build the Godot project. It still throws an error that indicates that the generated source wasn't fixed at all, like it's still using the online version of GodotSharp.SourceGenerators somehow. Any ideas why?
4 Replies
....it just magically started working
cool
depending on feed priorities, you may have been hitting the cache unless you bumped the version to be higher so it couldn't hit cache
For future reference @JadedDraconevix https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping
Package Source Mapping
Describes package source mapping functionality and how to onboard
ah thank you :3