[Question] Foreign content files imported from dependency
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
I don't think it is actual bug but maybe you know how to address it.
When importing dependency with Content (I guess) files, these files are shown in your assembly. Argghh... see screenshot:

all those libmongocrypt.dll and snappy64.dll are actually from MongoDB.Driver but they are "invading" my assembly.
They cannot be excluded (I tried to "hide" them somehow).
Same thing happens in VS.
Repro steps
import MongoDB.Driver 2.11.6 into your solution.
Expected behavior
"Foreign" files are not visible in solution, as they are not shown when using <PackageReference Include="..." Version="..." />.
Actual behavior
"Foreign" files are visible in solution.
Known workarounds
Using <PackageReference Include="..." Version="..." /> for one assembly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by importing MongoDB.Driver 2.11.6 and inspect how its Content files appear in the assembly and Visual Studio solution. Compare this with the PackageReference behavior described in the issue; done means foreign files from the dependency are no longer visible when using Paket.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100