You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Microsoft.Data.SqlClient.SNI not deployed along with ClickOnce for VSTO Add-ins #766
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
cheenamalhotra commentedon Oct 22, 2020
HI @billpeet
We'll look into this and get back to you soon!
MojoDK commentedon Feb 22, 2021
What is status?
billpeet commentedon Oct 21, 2021
Just bumping this issue again, this is still occurring.
priyankatiwari08 commentedon Sep 17, 2026
/triage