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.

Remove direct dependency on Microsoft.Data.SqlClient

See original GitHub issue

Version: 3.1.0

I don`t have any dependency to SQL-Server in my whole project and don’t want to have in future. I don’t need DB-Based Quarz-Features. Now I upgraded the Quartz NuGet package and it installed 50 new dependencies to libraries i will never use… I immediately reverted the update. Isn’t there a way to split the Quartz Lib into a non-DB part, without SQL-Server dependency and the DB dependent part as a sepparate library? Otherwise it will not be possible for me to upgrade Quartz in future…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lahmacommented, Jul 28, 2020

I think we need to start with re-implementing the JobStoreSupport.IsTransient, the delegate comes via interface and we cannot add new members before 4.0.

1reaction
lahmacommented, Jul 27, 2020

I think it will be doable to change the bits checking against SqlException to use reflection instead. This will transfer dependency handling requirement to library consumer as then there’s no out-of the box support for SQL Server anymore as the package isn’t pulled automatically.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can you remove the dependency on System.Threading. ...
Data.SqlClient complicates builds. Or: Add an explicit dependency on ... M.D.S. does not have a direct dependency on the on lib, but Azure....
Read more >
Introduction to Microsoft.Data.SqlClient namespace
This new dependency may cause namespace conflicts if your application references that namespace and still has package references (direct or ...
Read more >
SqlClient troubleshooting guide - ADO.NET Provider for ...
The included ".targets" file is autoreferenced when a direct dependency is made to the "Microsoft.Data.SqlClient" library.
Read more >
Delete Objects and Resolve Dependencies - SQL Server ...
Right-click a database in SQL Server Object Explorer, and select Delete. Accept all the default settings in the Delete Database dialog, and ...
Read more >
Released: General Availability of Microsoft.Data.SqlClient 5.0
This new dependency may cause namespace conflicts if your application references that namespace and still has package references (direct or ...
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