-
Notifications
You must be signed in to change notification settings - Fork 299
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
Unable to use Microsoft.Data.SqlClient as part of AddIn project inside SSMS #707
Comments
Bug fixed in 2.0.1-preview1 |
@ErikEJ Thanks for the answer. The problem is that I am not in control of Sssms.exe.config in order to add/remove something. By default the Ms.Data.SqlClient loads app.config section which is not mine and i don't want to use it. |
I guess you have to use the legacy client or wait for an update. You are aware that SSMS extensions are not really supported by Microsoft? |
Thanks for answer. Yes. |
@adrijan1976 have you tested with latest preview version v2.1.0-preview1? The fix in PR #702 was released in this version on Friday. |
@cheenamalhotra Thanks i have tested now, and conform that works with preview. I will close the issue. |
Code
Have simple code used to connect to SQL Server
To reproduce
When running this code in context of SSMS Addin receiving the following error
Problematic code inside Microsoft.Data.SqlClient is the following as it try to load section SSMS.exe.config which is
(File: SqlAuthenticationProviderManager.cs Line : 30)
Help needed
Is there any way to override or do something to avoid this behavior.
Thanks in advance!
The text was updated successfully, but these errors were encountered: