-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Data.SqlClient.SNI.pdb not found with V2.0.0 #652
Comments
I'm running into the same issue. 👍 |
Do you still face this issue? Or if this is duplicate of #595 please feel free to close this. |
The Thank you |
@cheenamalhotra |
Issue exists in .net 5 rtm release as well, any ideas how to fix? Seems to possibly be an issue with Microsoft.Data.SqlClient v. 2.1.0, trying 2.0.1 instead to see if it works. |
Microsoft.EntityFrameworkCore.SqlServer 5.0.0 is referecing the wrong Microsoft.Data.SqlClient - 2.0.1, this is where the problem is. Please add that to your project and remove the Microsoft.Data.SqlClient 2.1.0 package and you should get the error. Adding both Microsoft.Data.SqlClient 2.1.0 and Microsoft.EntityFrameworkCore.SqlServer 5.0.0 works as well, but it took me several days of troubleshooting to realize this. Most people diving into entity framework may only add the entity framework packages and then have headaches with self contained builds. Hopefully next version of sql server entity framework can reference the newer Microsoft.Data.SqlClient 2.1.0. |
Work for me too |
Thanks for sharing, it worked for me. This is still happening in version 5.0.3 of Microsoft.EntityFrameworkCore.SqlServer, the moment I added the direct reference to Microsoft.Data.SqlClient to my project it automatically refreshed the version inside EF package. |
Still happening in Microsoft.EntityFrameworkCore.SqlServer 5.0.5. |
Still an issue on 5.0.8. |
came across on this bug with Microsoft.EntityFrameworkCore 5.0.9 |
Issue Title
Just published a console app using Microsoft.Data.SqlClient V2.0.0 and runtime fails to run when:
<PublishSingleFile>true</PublishSingleFile>
General
I have tried with and without
<IncludeSymbolsInSingleFile>true</IncludeSymbolsInSingleFile>
The error is
An assembly specified in the application dependencies manifest (MyApp.deps.json) was not found:
package: 'Microsoft.Data.SqlClient.SNI.runtime', version: '2.0.0'
path: 'runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.pdb'
For some issues, you will get a quicker and better response if you file it at a more specific .NET repo. For example, if the problem is with ASP.NET Core, you are encouraged to use the aspnet/home repo.
The text was updated successfully, but these errors were encountered: