Missing info about required netcoredeps folder for self contained exe on Linux
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 370
Description
I wish publishing a self contained exe was easy for Linux. However this page doesn't mention that the developer needs to download specific libraries for each Linux distro they need to support and place them in a sub directory called netcoredeps. This can be quite challenging and Microsoft offers no tool to do this easily.
I build a docker image for each distro to download packages, extract the libraries, and place them in a flat directory and export each docker image. Later I import these docker images to copy the correct set of files for the Linux distro into the netcoredeps directory of the app.
This works great for all but one distribution. CentOS7.8.2003. after installing my web app, I run it, and I get an error saying it found the fx.so (don't remember the exact name) , but it can't find a Linux prerequisite. It doesn't tell me the missing prerequisite.
Now I can't release our app as self contained for this latest version of centos7 -- 7.8.2003 -- because of this problem.
This documentation needs to be updated and Microsoft needs to make it easier to gather these third party libraries for self contained exes. Or customers don't have their machines connected to the internet. We need this to work.
Thank you.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 85eba478-0374-bb9b-8fa7-d5cf7d520603
* Version Independent ID: 89967250-8c3b-1999-078f-94ad7518ed49
* Content: [Application publishing - .NET Core](https://docs.microsoft.com/en-us/dotnet/core/deploying/?irgwc=1&OCID=AID2000142_aff_7593_1243925&tduid=%28ir__ouyqy1fepokftmfqkk0sohzgcn2xi9q0v12yx21n00%29%287593%29%281243925%29%28je6NUbpObpQ-eM3o.y_PovCH4p2AyGqt1w%29%28%29&irclickid=_ouyqy1fepokftmfqkk0sohzgcn2xi9q0v12yx21n00#self-contained-deployments-scd?ranMID=24542&ranEAID=je6NUbpObpQ&ranSiteID=je6NUbpObpQ-eM3o.y_PovCH4p2AyGqt1w&epi=je6NUbpObpQ-eM3o.y_PovCH4p2AyGqt1w)
* Content Source: [docs/core/deploying/index.md](https://github.com/dotnet/docs/blob/master/docs/core/deploying/index.md)
* Product: **dotnet-core**
* GitHub Login: @adegeo
* Microsoft Alias: **adegeo**
Contributor guide
Assessment
This issue has not been assessed yet.