sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Only AppLocal binaries, present in app.deps.json, should be setup by the host

Open gkhanna79 opened this issue 10 years ago • 4 comments

Currently, host would add any appLocal binary, which is not in app.deps.json, as part of the app graph when constructing the TPA list.

It should exclude any binaries not in app.deps.json.

CC @jkotas

gkhanna79 avatar Apr 15 '16 22:04 gkhanna79

Cc @anurse and @davidfowl. Effectively, deps.json will no longer be an optional artifact, i.e., whatever is specified in the deps file will only be setup in the probe paths. App local assemblies just dropped/copied in the app base will not be loaded.

schellap avatar Apr 15 '16 23:04 schellap

deps.json will no longer be an optional artifact

I do not think the intend of this issue is to make deps.json non-optional. If you do not have deps.json, it is fine to just pick up everything in the app directory. However, if you do have deps.json, we should pick up just what is in deps.json and not other random stuff that may be laying around.

jkotas avatar Apr 16 '16 18:04 jkotas

I concur with @jkotas.

gkhanna79 avatar Apr 16 '16 18:04 gkhanna79

Fixed by dotnet/cli#3195

schellap avatar May 24 '16 19:05 schellap