-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
dotnet add package Microsoft.EntityFrameworkCore.SQLite failed #13366
Comments
Hi team, |
Hi @CeciAc! Looks like a tooling bug to me because the version has been optional. Either that or the 🧀 moved and they changed the command syntax. Perhaps, it should be opened as an engineering issue before changing anything that we have. We have ~20 instances of the command around the docs without specifying a version. cc: @Rick-Anderson If so, we'd ask here 👉 https://github.com/NuGet/Home/issues |
Side question for you @junk123321 ... you're sure that you don't have a global.json file (or nuget.config) around in the directory tree at or above the project? If so, that might foul the package discovery. btw-- What SDK version are you using? |
One more thing comes to mind @junk123321 ... you might be in a broken package cache state. Try executing this command to nuke the package cache ... dotnet nuget locals --clear all ... then try the command from the topic again (without the version) and see if it works. |
This can fail for several reason as @guardrex mentions. This is not a doc bug. Given we have thousands of customers reporting success on this, it's almost a certainty this is not a bug.
Follow the suggestions of @guardrex and do some searching on SO to figure out what you've done wrong. |
@junk123321 commented on Tue Jul 16 2019
Run below command in tutorial
dotnet add package Microsoft.EntityFrameworkCore.SQLite
has below problem
The content at 'http://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='Microsoft.EntityFrameworkCore.SQLite'&semVerLevel=2.0.0' is not valid XML.
@junk123321 commented on Tue Jul 16 2019
Another two commands have similar problems.
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet add package Microsoft.EntityFrameworkCore.Design
@junk123321 commented on Wed Jul 17 2019
pkg version must be specified as below, then it works.
dotnet add package Microsoft.EntityFrameworkCore.Sqlite --version 2.2.6
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design --version 2.2.3
dotnet add package Microsoft.EntityFrameworkCore.Design --version 2.2.6
@junk123321 commented on Wed Jul 17 2019
pls update doc accordingly to avoid misleading new guys. :)
@srvbpigh commented on Wed Jul 17 2019
Hello, @junk123321
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team
The text was updated successfully, but these errors were encountered: