I am building a C++ project with a locally supplied .lib and some NuGet libraries on Visual Studio 2019.
However the Nuget libraries always get linked first, and I need the local .lib to go first so the symbols are resolved correctly. How do I control the link order in Visual Studio?
I have attempted to use a Directory.Build.targets approach but it doesn't seem to know where the NuGet package versions and locations are. The Visual Studio linker seems to be told just fine, just does things in the wrong order.
I can write a batch file that works but it means hard-coding all the NuGet locations