dotnet / dotnet/SqlClient

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

Open
#766 3 comments 1 reaction 0 assignees View on GitHub
Repro Available :heavy_check_mark:
Dominant language
C#
Stars
989
Forks
340
Avg merge
4d 19h
Merged PRs (30d)
72

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.