-
Notifications
You must be signed in to change notification settings - Fork 275
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
System.Data.Sqlient isn't supported on this platform error in Update-Database #72
Comments
@deanilvincent can you create a minimal repro, and zip it up for us? |
@saurabh500 I'm running Windows 10 and everything is updated. |
@deanilvincent thanks. How about a minimum repro as a zip or a GitHub repo? |
You're welcome @saurabh500 I think Github repo is a best choice :) Hold on. I'm creating test project :) |
https://github.com/deanilvincent/Asp.NetCore2.0 @saurabh500 @danmosemsft :) |
Can you also outline the steps you took to get this error message? |
Steps:
Then that's where my error appears. @saurabh500 |
@deanilvincent just in case it helps, do you have the final version of .NET Core SDK 2.0.0 installed in that machine? |
@divega Yes I have the final version of .Net Core SDK 2.0.0 downloaded from this link: https://www.microsoft.com/net/download/core |
Hello everyone :) |
Any updates for this? |
As recently announced in the .NET Blog, focus on new SqlClient features an improvements is moving to the new Microsoft.Data.SqlClient package. For this reason, we are moving this issue to the new repo at https://github.com/dotnet/SqlClient. We will still use https://github.com/dotnet/corefx to track issues on other providers like System.Data.Odbc and System.Data.OleDB, and general ADO.NET and .NET data access issues. |
Please confirm if you're still facing this issue with Microsoft.Data.SqlClient as well and when does this issue trigger. It seems like the issue talks about "update-database" command, does that mean other commands work fine? or you get same error performing any operation with S.D.S or M.D.S. |
Closing issue as inactive, as it is likely to be fixed already in recent versions of .NET Core. @deanilvincent please provide more info in case you'd like to reopen the issue for Microsoft.Data.SqlClient. |
@deanilvincent commented on Tue Oct 10 2017
Title: System.Data.Sqlient isn't supported on this platform error
General
Environment specifications:
Visual Studio 2017 15.3
Installed 2.0 .Net Core
I'm trying to use the command "update-database -context NameOfMyContext" but somehow I got this error message that says "System.Data.Sqlient isn't supported on this platform error"
Here's my connection string
services.AddDbContext<CompanyDbContext>(options => options.UseSqlServer(@"data source=ipaddress;initial catalog=testingdbcore;user id=username;password=password;integrated security=false;"));
To add up, I successfully added a migration and everything is working fine but then suddenly when I trigger the command for updating my database, I got this issues.
Thank you in advance!
@Petermarcu commented on Tue Oct 10 2017
@divega would this be an issue that should be in the EF repo or @saurabh500 should this issue go to corefx?
@saurabh500 commented on Wed Oct 11 2017
It should go to Corefx
@deanilvincent commented on Wed Oct 11 2017
What should I do now guys? Is there any option?
@saurabh500 commented on Wed Oct 11 2017
What is your OS that you are running the above steps on @deanilvincent ?
@saurabh500 commented on Wed Oct 11 2017
@deanilvincent From the screen shot it is Windows.
The text was updated successfully, but these errors were encountered: