sni.dll
is not include in the result of dotnet publish
for netfx
#157
Milestone
sni.dll
is not include in the result of dotnet publish
for netfx
#157
Describe the bug
sni.dll
is not include in the result ofdotnet publish
for netfx.Looks like #137, but finally found it also happen with directly reference.
To reproduce
Tested with MS.SqlClient 1.0.19221.1-Preview/1.0.19189.1-Preview, dotnet-sdk 3.0.100-preview8-013656/2.2.400, net48(runtime).
dotnet new console
;dotnet add package Microsoft.Data.SqlClient --version 1.0.19221.1-Preview
;dotnet publish
See
sni.dll
is included in the build resultbin\Debug\net472\x64\SNI.dll
but not the publish resultbin\Debug\net472\publish
. And SqlClient failed to init with the published program as an result.Expected behavior
sni.dll
should also be included withdotnet publish
for netfxFurther technical details
Microsoft.Data.SqlClient version:
1.0.19221.1-Preview
.NET target: net472
SQL Server version: -
Operating system: Windows10 1903
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: