Reduce size of "packages" folder for netcoreapp2.0/netstandard2.0 projects
See original GitHub issueI’ve published a beta version of Fable upgraded to netcoreapp2.0 and I’m making some tests. I was hoping that if Fable and Fable related packages were upgraded to netcoreapp2.0/netstandard2.0, the size of the packages
folder would be reduced a lot as all the extra System.XXX dependencies shouldn’t be needed (same way as when you target net45
). However I’m still getting all the System.XXX dependencies in the packages folder, and I think it’s because the FSharp.Core 4.2.3 dependency, which still targets netstandard1.6
so it brings all the bloated dependencies with it.
Would it be possible to ignore all dependencies netstandard1.X
related when targeting >= netcoreapp2.0/netstandard2.0
? I tried adding framework: netcoreapp2.0
on top of paket.dependencies, but it didn’t help.
BTW, I remember there was a discussion whether the new FSharp.Core should target netstandard1.6 or netstandard2.0 and I think Immo Landwerth recommended to target the lowest framework possible.
Pinging @enricosada
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (15 by maintainers)
Top GitHub Comments
It will work fine and will be considered big success. 😃
Am 23.08.2017 10:59 vorm. schrieb “Matthias Dittrich” < notifications@github.com>:
btw the packages opt out will work by package as well (regarding cli tools and netstandard library). But I don’t promise anything (how good it will work in practice, because that part is kind of dangerous)…
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/fsprojects/Paket/issues/2650#issuecomment-324267157, or mute the thread https://github.com/notifications/unsubscribe-auth/AADgNKFY5-nfz5UC2qN8vUtiahijs6crks5sa-oMgaJpZM4O_pO7 .
btw the packages opt out will work by package as well (regarding cli tools and netstandard library). But I don’t promise anything (how good it will work in practice, because that part is kind of dangerous)…