Skip to content
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

--create-dbcontext gives error: Microsoft.EntityFrameworkCore.SqlServer version 8.0.8 cannot be added because version 8.0.10 was added previously. #3763

Closed
11 tasks
kemmis opened this issue Nov 14, 2024 · 5 comments
Labels
Area-SQL / data querying bug Something isn't working

Comments

@kemmis
Copy link

kemmis commented Nov 14, 2024

Describe the bug

Using Microsoft.DotNet.Interactive.SqlServer, version 1.0.0-beta.24563.1, when you use --create-dbcontext with #!connect mssql you will get
Error: Microsoft.EntityFrameworkCore.SqlServer version 8.0.8 cannot be added because version 8.0.10 was added previously.

The EntityFrameworkCore packages in ConnectMsSqlDirective.cs need to be updated to match version in SqlServer.csproj.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

  • OS
    • Windows 11
    • [ X] Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • [X ] Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Screenshots

Image

Image

@jonsequitur
Copy link
Contributor

Fixed by #3762.

@kemmis
Copy link
Author

kemmis commented Nov 15, 2024

@jonsequitur Thanks for fixing this. Is there an ETA on when a new nuget package will get published?

@jonsequitur
Copy link
Contributor

It should be available in the next hour.

@kemmis
Copy link
Author

kemmis commented Nov 15, 2024

@jonsequitur using the latest package now give you: Error: Microsoft.Identity.Client version 4.61.3 cannot be added because version 4.65.0 was added previously.

@jonsequitur
Copy link
Contributor

There's a fix on the way. (#3767)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-SQL / data querying bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants