Skip to content

New DLL not included in Build? #3898

Closed as not planned
Closed as not planned

Description

@rozeboosje

We have a solution targeting .NET Framework 4.8 and we are always very careful to keep the nuget packages we use up to date.

Today I upgraded the Microsoft.Data.SqlClient package to 6.1.4 and while it was installing I noticed that it added a new dependency to System.Text.RegularExpressions 4.3.1

After the build, however, I don't see a System.Text.RegularExpressions.dll in the output folder.

Is this an omission? Is there any cause for concern? Or is this expected behaviour and nothing to worry about?

Activity

  1. apoorvdeshmukh commented on Jan 16, 2026

    @apoorvdeshmukh
    Contributor

    @rozeboosje Thanks for upgrading to 6.1.4!
    In 6.1.4 we added a NuGet dependency on System.Text.RegularExpressions (4.3.1) through #3843 .
    For projects targeting .NET Framework 4.8, it’s expected that you won’t see a System.Text.RegularExpressions.dll copied to the output folder, because regex support is already included with .NET Framework and is resolved from the framework/GAC at runtime.
    So, this isn’t an omission and shouldn’t be a concern. @paulmedynski, can you confirm if this is correct?

  2. moved this from To triage to Needs Response in SqlClient Boardon Jan 16, 2026
  3. apoorvdeshmukh commented on Jan 16, 2026

    @apoorvdeshmukh
    Contributor

    @rozeboosje, if you face any issues after updating to 6.1.4, do let us know and we will investigate. Thanks.

  4. moved this from Needs Response to Waiting for customer in SqlClient Boardon Jan 16, 2026
  5. rozeboosje commented on Jan 16, 2026

    @rozeboosje
    Author

    Thank you for the clarification. I ran the software after rebuilding and all seems well. Having said that, we do not use any regular expressions related functionality through SqlClient so I cannot be certain that this proves all is well, but suffice to say it doesn't impact us so we're happy enough. I'd love to hear from @paulmedynski for additional reassurance but I'm happy to proceed with the package as it currently stands.

  6. apoorvdeshmukh commented on Jan 16, 2026

    @apoorvdeshmukh
    Contributor

    Adding @mdaigle @David-Engel for their inputs on this issue.

  7. moved this from Waiting for customer to Needs Response in SqlClient Boardon Jan 16, 2026
  8. cheenamalhotra commented on Jan 20, 2026

    @cheenamalhotra
    Member

    Confirming @apoorvdeshmukh's statement above.

    So, this isn’t an omission and shouldn’t be a concern.

    Closing this as a no-op.

  9. moved this from Needs Response to Done in SqlClient Boardon Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions