News for hackers. Stuff that matters.
Re:Unity Software Inc S-1 by alexbanks on Monday August 24, 2020 @01:25PM (#24262983)
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)
Re:Unity Software Inc S-1 by moron4hire on Tuesday August 25, 2020 @02:27AM (#24268609)
A 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.
Re:Unity Software Inc S-1 by bathtub365 on Monday August 24, 2020 @07:36PM (#24266702)
There is a nuget Unity library that will do this for you (and more) https://github.com/GlitchEnzo/NuGetForUnity
Re:Unity Software Inc S-1 by jayd16 on Monday August 24, 2020 @05:34PM (#24265787)
You 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.