-
Notifications
You must be signed in to change notification settings - Fork 317
Description
Describe the bug
The nuget package Microsoft.EntityFrameworkCore.SqlServer v3.1.2 needs the reference to
Microsoft.Data.SqlClient.SNI v1.1.1. The SNI package is automatically added to the project when referencing the SqlServer v3.1.2 which is expected. When building the solution, the directories x64 and x86 are created as expected and everything works fine when started from the \bin\debug and \bin\release folders.
To reproduce the issue
When deploying the solution using ClickOnce, both directories (x86 and x64) are not included so that the application does not work anymore as it lacks the SNI.dll reference. I cannot see a way to solve the issue since I cannot include the reference under
ProjectName > Publish > Application Files...
I saw this (fixed) issue but for ClickOnce, it does not seem to be fixed.
Expected behavior
When deploying the application using ClickOnce, the x64 and x86 directories including the native SNI.dll libraries are copied to the respective version directory inside the "Application Files" directory and referenced properly.