question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reduce size of "packages" folder for netcoreapp2.0/netstandard2.0 projects

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Comments:19 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
forkicommented, Aug 23, 2017

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 .

1reaction
matthidcommented, Aug 23, 2017

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)…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to reduce size of huge folders in AppData Packages ...
Does anyone know of a way to limit or reduce the space used in the package directory for these applications? This thread is...
Read more >
c# - Huge package directory .NET solution
I tried to use the "Remove unused packages" feature of ReShaper but it did not significantly reduce the size of the packages folder....
Read more >
How can i reduce my ASP.net project size : r/VisualStudio
Next, delete the whole packages folder. This should give you tons of extra space. Check if everything is reinstalled as soon as you...
Read more >
Question - Reduce a large project size (200Gb)
The size of my project at the moment is 200Gb (no GI cache) but my Assets folder is 54GB. Is there a way...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found