question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing EFCore.Design version 6.0.3, please retry the command

See original GitHub issue

Describe what is not working as expected.

Steps to reproduce

Please include a complete description or project that I can redo/run to reproduce the issue.

  1. Download my sample repo and open with Visual Studio 2022

    git clone https://github.com/doggy8088/EFCorePowerToolBugReport.git
    cd EFCorePowerToolBugReport
    
  2. Open EFCorePowerToolBugReport.csproj file. Remove Microsoft.EntityFrameworkCore.Tools package from this project.

    Remove the following section:

    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
        <PrivateAssets>all</PrivateAssets>
        <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    
  3. EF Core Power Tools > Migrations Tool (preview)

    image

  4. The EF Core Power Tools did not install the Microsoft.EntityFrameworkCore.Design or Microsoft.EntityFrameworkCore.Tools package for me. It should.

    image

Further technical details

EF Core version in use: EF Core 6 (6.0.3)

Is Handlebars used: yes

EF Core Power Tools version: 2.5.918.0

Database engine: SQL Server (LocalDB)

Visual Studio version: Visual Studio 2022

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
ErikEJcommented, Apr 11, 2022

I is in the latest daily now

1reaction
doggy8088commented, Apr 10, 2022

I think I found the bug. You can to add a space after -v.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Entity Framework Core - EF Core
Use the following .NET Core CLI command from the operating system's command line to install or update the EF Core SQL Server provider:...
Read more >
'EntityFramework.Core.Tools' nuget package installation error
While installing the package Microsoft.EntityFrameworkCore.Tools for using EF in my project using Nuget, I'm persistently running into the ...
Read more >
Need to Update EF Core Tools
Use command line, Cmd or PowerShell for specific version: dotnet tool update --global dotnet-ef --version 3.1.0. or for latest version use ...
Read more >
Microsoft.EntityFrameworkCore.Tools 6.0.3
Version Downloads Last updated 8.0.0‑preview.7.23375.4 1,689 4 days ago 8.0.0‑preview.6.23329.4 13,801 a month ago 8.0.0‑preview.5.23280.1 16,422 2 months ago
Read more >
Connect to MySQL Database with Entity Framework Core
Run the following command from the project root folder to install the EF Core database provider for MySQL from NuGet:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found