Skip to content

Microsoft.Data.SqlClient.SNI not deployed along with ClickOnce for VSTO Add-ins #766

Open

Description

@billpeet

Describe the bug

I've seen from previous issues there was an issue with ClickOnce not deploying the Microsoft.Data.SqlClient.SNI dll, however this was apparently fixed in version 2.0.
It appears this issue still persists with VSTO Addins.

To reproduce

Create a new Outlook VSTO add-in in VS - File > New > Project > Outlook VSTO Add-in
Install Microsoft.Data.SqlClient NuGet package, version 2.0.1, Microsoft.Data.SqlClient.SNI 2.0.1 is installed as a dependency
Publish using ClickOnce (Properties > Publish > Publish Now)

Expected behaviour

Microsoft.Data.SqlClient.SNI.x86/x64.dll.deploy should be copied to the "Application Files" directory.

Further technical details

Microsoft.Data.SqlClient version: 2.0.1
.NET target: Framework 4.8
SQL Server version: SQL Server 2019
Operating system: Windows 10
Outlook: Office 356

Activity

  1. cheenamalhotra commented on Oct 22, 2020

    @cheenamalhotra
    Member

    HI @billpeet

    We'll look into this and get back to you soon!

  2. MojoDK commented on Feb 22, 2021

    @MojoDK

    What is status?

  3. billpeet commented on Oct 21, 2021

    @billpeet
    Author

    Just bumping this issue again, this is still occurring.

  4. moved this from To triage to Needs Response in SqlClient Boardon Jan 5, 2026
  5. added
    Repro Available ✔️
    on Jan 5, 2026
  6. moved this from Needs Response to Backlog in SqlClient Boardon Apr 1, 2026
  7. priyankatiwari08 commented on Sep 17, 2026

    @priyankatiwari08
    Contributor

    /triage

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

    Repro Available ✔️

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions