Should *.deps.json
files be distributed along with the assembly or inside the nuget packages?
deps. json will mean the host will blindly enumerate all . dll files in the application directory and use those as the "entire app". This typically means: Portable apps may not work (building with no RID specified will produce a portable app)
deps. json file, which lists the dependencies of the application or library. A . runtimeconfig. json file, which specifies the shared runtime and its version for an application.
You typically only need one .deps.json file per console or web application, not per assembly. Class libraries in NuGet packages don’t need to bundle a deps.json file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With