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.

EF Core Tools Bug Bash

See original GitHub issue

All the work we’ve done since last October finally shipped in version 1.0.0-msbuild3-final of the tools. There has been significant changes to the code including support for the new MSBuild-based (and CPS-based in VS 2017) projects. We would love to get as many people testing this out as we can (both team and community members alike).

If you find anything that isn’t working as expected, please submit an issue and (optionally) link to it from here.

What to use

With Visual Studio 2017 RC or .NET Core SDK 1.0 RC3, install the PMC tools by installing the Microsoft.EntityFrameworkCore.Tools package (like you would any other NuGet package). Use either version 1.0.0-msbuild3-final or 1.1.0-msbuild3-final depending on your version of the EF Core runtime.

Install dotnet ef by adding the following to your projects.

<ItemGroup>
  <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet"
                          Version="1.0.0-msbuild3-final" />
</ItemGroup>

Things to test

Variable Values
Frameworks .NETCoreApp, .NETStandard, .NETFramework, ✅ UAP, Xamarin, .NET Native
Platforms AnyCPU, ✅ x86, x64, ARM
OS ✅ Windows, ✅ Linux, ✅ OSX
Project Types Console, Web, ✅ UWP, Class Library, Runtime Component, .xproj
Tools PMC, dotnet ef, ef.exe

Note: Struckthrough items are negative scenarios that should give good error messages.

  • Different combinations of target and startup project types
  • Interaction with VS
    • Adding, removing, and opening files
    • Setting window focus
    • Tab completion on PMC
  • Help on dotnet ef
  • ✅ .NET Core Runtime 1.1
  • ✅ Cross-targeting
  • ✅ Standalone apps

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:21 (11 by maintainers)

github_iconTop GitHub Comments

9reactions
bricelamcommented, Feb 8, 2017

@MarkusEgle It looks like that template doesn’t include the dotnet-ef tool. Add the following to your *.csproj.

<ItemGroup>
  <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet"
                          Version="1.0.0-msbuild3-final" />
</ItemGroup>
1reaction
bricelamcommented, Feb 12, 2017

@jamiewest We have the appropriate metadata in our nupkg, but NuGet hasn’t implemented the logic to handle it yet. This is a known issue, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

EF Core tools reference (.NET CLI)
Reference guide for the Entity Framework Core .NET Core CLI tools.
Read more >
Entity Framework Core Inside Rider: UI Way
Do you work with Entity Framework Core? Would you like to manage entities right inside your IDE? Then you're in luck! The Entity...
Read more >
How to upgrade EF Core Tools - entity framework
Update the tools using the package manager console: Install-Package Microsoft.EntityFrameworkCore.Tools -Version 2.1.4.
Read more >
Fixing .NET Core tool update issues
I had an issue running an EntityFramework command after updating the NuGet packages to the latest version and searching got me to multiple ......
Read more >
Microsoft.EntityFrameworkCore.Tools 3.1.25
Version Downloads Last updated 8.0.0‑preview.7.23375.4 4,046 11 days ago 8.0.0‑preview.6.23329.4 14,954 a month ago 8.0.0‑preview.5.23280.1 17,065 2 months ago
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