sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Add support for FX_DEPS_JSON property

Open gkhanna79 opened this issue 10 years ago • 11 comments

The host should specify the path to deps.json corresponding to the one that the app is being activated against. This can be used by apps (e.g. CLI) as appropriate.

CC @brthor @piotrpMSFT @schellap

gkhanna79 avatar Apr 18 '16 17:04 gkhanna79

In the case of deps.json's being merged, which file path will be available via this property?

brthor avatar Apr 18 '16 17:04 brthor

Are you referring to standalone apps? If so, then this should be path of the standalone app's deps.json.

gkhanna79 avatar Apr 18 '16 17:04 gkhanna79

We should use a property called FX_BASE_DIRECTORY. Why FX_DEPS_JSON?

schellap avatar Apr 18 '16 17:04 schellap

Why FX_DEPS_JSON?

Once you have the path to the deps.json, you can compute the path to Shared FX. Also, this alleviates the need to introduce a new property in future to point to the FX's deps.json, if required.

gkhanna79 avatar Apr 18 '16 17:04 gkhanna79

@gkhanna79 @schellap I'm not sure we can absorb consuming this property for RC2. Let's give it a shot, but if you get other blocking work then I'd prioritize this lower since it really creates benefit when CLI-side of the work is also done.

TheRealPiotrP avatar Apr 18 '16 18:04 TheRealPiotrP

@piotrpMSFT Is this not required for RC2?

gkhanna79 avatar Apr 18 '16 18:04 gkhanna79

My understanding is that we need this for RC2 to ensure CLI can pickup the FX path correctly incase binaries get serviced.

gkhanna79 avatar Apr 18 '16 18:04 gkhanna79

ok. Sounds like @schellap is also picking up dotnet/sdk#5735 to test the fix for this one.

TheRealPiotrP avatar Apr 18 '16 23:04 TheRealPiotrP

@schellap any update here?

TheRealPiotrP avatar Apr 19 '16 23:04 TheRealPiotrP

Part of the fix is in PR dotnet/cli#2546

schellap avatar Apr 20 '16 00:04 schellap

Fixed by dotnet/cli#2546

schellap avatar Apr 21 '16 00:04 schellap