3 ms·
This is my first time being involved in a game. Is there a way to make dependency/package management not abysmal? I was legitimately shocked when I realized tha
by alexbanks 6y ago
This is my first time being involved in a game. Is there a way to make dependency/package management not abysmal? I was legitimately shocked when I realized that if you wanted to install a .net standard 2.0 library, you had to manually walk the dependency tree of that library and download/copy every single DLL into your app. Did I miss something? (probably)
- jayd16 6y agoYou can get nuget to work by having it put the packages under the Asset folder but you'll need to manually clean up targets you don't want. Unity has its own (a few actually =/) package system.
- bathtub365 6y agoThere is a nuget Unity library that will do this for you (and more) https://github.com/GlitchEnzo/NuGetForUnity https://github.com/GlitchEnzo/NuGetForUnity
- moron4hire 6y agoA very cheap way of getting all the netstandard2 dependencies together in one place for the sake of Unity's bullshit is to create a vestigial .NET Framework 4.7 library that imports all of the .NET Standard 2.0 libraries you care about, and then set its output directory to somewhere within your Unity project's Assets/Plugins directory.