Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should '*.deps.json' file be distributed along with the assembly or inside nuget packages?

Should *.deps.json files be distributed along with the assembly or inside the nuget packages?

like image 794
Pawel Lesnikowski Avatar asked Nov 17 '17 17:11

Pawel Lesnikowski


People also ask

What is deps json file for?

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)

What is DEPS JSON file in .NET core?

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.


Video Answer


1 Answers

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.

like image 194
natemcmaster Avatar answered Sep 22 '22 23:09

natemcmaster