These are chat archives for ExtCore/ExtCore

3rd
Aug 2017
Dhallagan
@Dhallagan
Aug 03 2017 14:51
Hi Dmitry,
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:52
@Dhallagan Hi!
Dhallagan
@Dhallagan
Aug 03 2017 14:52
Also, thinking about ExtCore. Thinking about dependencies. If I use two of the same libraries in my extension is ExtCore built to only have one set
"have" meaning would multiple extensions draw from one dependecy
Or would I just have to use nuget and reference from there
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:54
Now - yes. If you have extension A and extension B both having dependency on Z.dll, so Z.dll will be loaded once
Or
you will have to add nuget dependency
so you have 2 options:
  1. put Z.dll into extensions folder
  1. add dependency in your project file
(of the main web app)
Dhallagan
@Dhallagan
Aug 03 2017 14:55
Ok, so thinking is there an enhancement way to add dependencies for an extension to the to the nuget package manager via say a json file
Or would it be manual?
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:56
hm, not sure I understand
Dhallagan
@Dhallagan
Aug 03 2017 14:56
Sorry. I'm kind of jumbled in my thoughts myself
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:57
if your extension uses Z.dll, you either have to put Z.dll in the extensions folder with your extension OR add dependency to it from the main web app. OR you may add dependency to your extension to the main web app directly, in this vase VS will download Z.dll from nuget automatically.
Dhallagan
@Dhallagan
Aug 03 2017 14:58
Alright, if I build an extension that requires some nuget dependencies specific to that extension. Will VS get those dependencies
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:58
only if you add dependency as nuget package
Dhallagan
@Dhallagan
Aug 03 2017 14:58
ok
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:58
it won't work with extension as dll
Dhallagan
@Dhallagan
Aug 03 2017 14:58
Cool
Thanks for helping
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:58
in that case you willhave to provide dll manually
no problems!
Dhallagan
@Dhallagan
Aug 03 2017 14:59
Super awesome "customer service" by the way
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:59
:)
Dhallagan
@Dhallagan
Aug 03 2017 14:59
I love it. I
I'll play around with your project when I get a chance. Great work so far
Dmitry Sikorsky
@DmitrySikorsky
Aug 03 2017 14:59
:+1:
thanks