Bug #102670 | MySQL.data adds lots of System files dependencies to a VB.NET project setup | ||
---|---|---|---|
Submitted: | 20 Feb 2021 11:41 | Modified: | 22 Feb 2021 16:53 |
Reporter: | Philippe Lévi | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 8.0.21 and 8.0.22 at least | OS: | Windows (Win 10 v20H2) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any (x64) |
Tags: | Connector .NET, dependencies, setup, VB.NET |
[20 Feb 2021 11:41]
Philippe Lévi
[20 Feb 2021 11:47]
Philippe Lévi
Uploaded the project file
[22 Feb 2021 16:30]
Daniel Valdez
Hi Philippe, So reviewing your project, I can notice what you're mentioning regarding the 100+ dependencies added but as you can see, the MySql.Data has a direct dependency (natively added) to Microsoft .NET Framework which at the same time add more dependecies than we have. I also have tested this behaviour using other libraries and looks the same. So the issue is not our library itself. Maybe you could add a condition to not include these dependencies until installation time. Thanks, Daniel
[22 Feb 2021 16:47]
Philippe Lévi
Hi Daniel, Thx for the reply. That's what I figured and I obviously did exclude these dependencies from the package setup. As I said, it' not a big deal...It just is a bit painful to exclude again all these at build time because, surprisingly, if you exclude all unwanted dlls in the project, each time you rebuild, some of them like System.Tracing and others get included ahain... Thanks for looking into this stuff anyway... Cheers from Paris, France Philippe
[22 Feb 2021 16:52]
Daniel Valdez
Hi Philippe, No problem! We would really like to be able to do something to help you but it's not in our side. Thanks for contacting us and don't hesitate to do the same in the future as this improves our product. Cheers back from Mexico! Daniel