dotnet ef not found with .netcoreapp1.1 #7801

Closed
wonea opened this Issue Mar 7, 2017 · 11 comments

Comments

Projects
None yet
5 participants
@wonea

wonea commented Mar 7, 2017

Upgrading to .NetCoreApp and VS 2017 has stopped dotnet ef from working.

.csproj file

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFrameworks>netcoreapp1.1;netstandard1.6;net46</TargetFrameworks>
    <AssemblyName>MyEntity</AssemblyName>
    <PackageId>MyEntity</PackageId>
    <RestoreProjectStyle>PackageReference</RestoreProjectStyle>
    <RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">1.1.0</RuntimeFrameworkVersion>
    <PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>
    <NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.6' ">1.6.1</NetStandardImplicitPackageVersion>
    <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
    <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
    <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\MyEntity.Common\MyEntity.Common.csproj" />
    <ProjectReference Include="..\MyEntity.Log\MyEntity.Log.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="System.Data.Common" Version="4.3.0" />
    <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="1.1.0" />
  </ItemGroup>

  <ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Routing" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="1.1.1" />
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0" />
    <PackageReference Include="System.Threading" Version="4.3.0" />
    <PackageReference Include="System.Linq" Version="4.3.0" />
    <PackageReference Include="System.ComponentModel" Version="4.3.0" />
    <PackageReference Include="System.Reflection.TypeExtensions" Version="4.3.0" />
  </ItemGroup>

  <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.6' ">
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.0" />
    <PackageReference Include="Microsoft.AspNetCore.Routing" Version="1.1.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="1.1.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="1.1.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Design" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.WebEncoders" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="1.1.1" />
    <PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0" />
    <PackageReference Include="System.Linq" Version="4.3.0" />
    <PackageReference Include="System.Threading" Version="4.3.0" />
    <PackageReference Include="System.ComponentModel" Version="4.3.0" />
    <PackageReference Include="System.Reflection.TypeExtensions" Version="4.3.0" />
  </ItemGroup>

  <ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
    <PackageReference Include="EntityFramework" Version="6.1.3" />
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.0.1" />
    <PackageReference Include="System.Linq" Version="4.1.0" />
    <PackageReference Include="System.Threading" Version="4.0.11" />
    <PackageReference Include="System.ComponentModel" Version="4.0.1" />
    <PackageReference Include="System.Reflection.TypeExtensions" Version="4.0.1" />
    <Reference Include="System" />
    <Reference Include="Microsoft.CSharp" />
  </ItemGroup>

  <ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
    <Compile Remove="Migrations\**\*" />
  </ItemGroup>

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

</Project>

dotnet ef --version from the project folder produces the following error;

No executable found matching command "dotnet-ef"

Steps to reproduce

Compile project, open the command line and type dotnet ef --version

Further technical details

EF Core version: 1.1.1
Database Provider: PostgreSQL
Operating system: Window 10 Pro
IDE: Visual Studio 2017

I'm wondering whether I've got an SDK to cover this? I've installed build 004771 on the release page.

2017-03-07 14_17_36 microsoft visual studio

@julielerman

This comment has been minimized.

Show comment
Hide comment
@julielerman

julielerman Mar 7, 2017

I'm using netcoreapp 1.1 with no problem. For the EF Core tools, you have 1.1.0-preview4. The preview tools for csproj are in "1.0.0-msbuild3-final". Later today, all you'll need is "1.0.0". :)

Unrelated ...you have efcore 1.1.1 in netcoreapp section, EF core 1.1.0 in netstandard section and ... what's with the EF6 refs in the net46 section?

I'm using netcoreapp 1.1 with no problem. For the EF Core tools, you have 1.1.0-preview4. The preview tools for csproj are in "1.0.0-msbuild3-final". Later today, all you'll need is "1.0.0". :)

Unrelated ...you have efcore 1.1.1 in netcoreapp section, EF core 1.1.0 in netstandard section and ... what's with the EF6 refs in the net46 section?

@wonea

This comment has been minimized.

Show comment
Hide comment
@wonea

wonea Mar 7, 2017

Nope I'm stumped, changed to 1.0.0 and still nothing.

  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.0.0" />
  </ItemGroup>

As for the three references. I use the context in WPF applications, and also deploy from a class library (using a console app as the startup project).

#if NETSTANDARD1_6
using Microsoft.EntityFrameworkCore;

namespace MyEntity
{
    public class MyContext : DbContext
    {
        public DbSet<Log> Logs { get; set; }

        public const string ConnectionString = "blahblah;";

        public MyContext () { }

        public MyContext (DbContextOptions<LogContext> options) : base(options) { }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseNpgsql(ConnectionString);
        }
    }
}
#endif

#if NET46
using System.Data.Entity;

namespace MyEntity
{
    public class MyContext : DbContext
    {
        public DbSet<Log> Logs { get; set; }

        private const string ConnectionString = "blahblah;";

        public MyContext() : base(ConnectionString) { }
    }
}
#endif
#NETCOREAPP1_1
....

wonea commented Mar 7, 2017

Nope I'm stumped, changed to 1.0.0 and still nothing.

  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.0.0" />
  </ItemGroup>

As for the three references. I use the context in WPF applications, and also deploy from a class library (using a console app as the startup project).

#if NETSTANDARD1_6
using Microsoft.EntityFrameworkCore;

namespace MyEntity
{
    public class MyContext : DbContext
    {
        public DbSet<Log> Logs { get; set; }

        public const string ConnectionString = "blahblah;";

        public MyContext () { }

        public MyContext (DbContextOptions<LogContext> options) : base(options) { }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseNpgsql(ConnectionString);
        }
    }
}
#endif

#if NET46
using System.Data.Entity;

namespace MyEntity
{
    public class MyContext : DbContext
    {
        public DbSet<Log> Logs { get; set; }

        private const string ConnectionString = "blahblah;";

        public MyContext() : base(ConnectionString) { }
    }
}
#endif
#NETCOREAPP1_1
....
@julielerman

This comment has been minimized.

Show comment
Hide comment
@julielerman

julielerman Mar 7, 2017

Well, I would play "one of these things is not like the other" and see what happens if you ONLY target netcoreapp.

Well, I would play "one of these things is not like the other" and see what happens if you ONLY target netcoreapp.

@wonea

This comment has been minimized.

Show comment
Hide comment
@wonea

wonea Mar 7, 2017

Simplified csproj to:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <AssemblyTitle>MyEntity</AssemblyTitle>
    <TargetFramework>netcoreapp1.1</TargetFramework>
    <AssemblyName>MyEntity</AssemblyName>
    <PackageId>MyEntity</PackageId>
    <RestoreProjectStyle>PackageReference</RestoreProjectStyle>
    <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
    <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
    <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\MyEntity.Common\MyEntity.Common.csproj" />
    <ProjectReference Include="..\MyEntity.Log\MyEntity.Log.csproj" />
    
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Routing" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.WebEncoders" Version="1.1.0" />
    <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="1.1.0" />
    <PackageReference Include="System.ComponentModel" Version="4.3.0" />
    <PackageReference Include="System.Data.Common" Version="4.3.0" />
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0" />
    <PackageReference Include="System.Linq" Version="4.3.0" />
    <PackageReference Include="System.Reflection.TypeExtensions" Version="4.3.0" />
    <PackageReference Include="System.Threading" Version="4.3.0" />
    <PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
  </ItemGroup>

  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.0.0" />
  </ItemGroup>

Still getting the same error

No executable found matching command "dotnet-ef"

Thinking of removing unused frameworks, perhaps my machine config is bad.

wonea commented Mar 7, 2017

Simplified csproj to:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <AssemblyTitle>MyEntity</AssemblyTitle>
    <TargetFramework>netcoreapp1.1</TargetFramework>
    <AssemblyName>MyEntity</AssemblyName>
    <PackageId>MyEntity</PackageId>
    <RestoreProjectStyle>PackageReference</RestoreProjectStyle>
    <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
    <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
    <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\MyEntity.Common\MyEntity.Common.csproj" />
    <ProjectReference Include="..\MyEntity.Log\MyEntity.Log.csproj" />
    
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Routing" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.1" />
    <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Relational.Design" Version="1.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.Extensions.WebEncoders" Version="1.1.0" />
    <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="1.1.0" />
    <PackageReference Include="System.ComponentModel" Version="4.3.0" />
    <PackageReference Include="System.Data.Common" Version="4.3.0" />
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0" />
    <PackageReference Include="System.Linq" Version="4.3.0" />
    <PackageReference Include="System.Reflection.TypeExtensions" Version="4.3.0" />
    <PackageReference Include="System.Threading" Version="4.3.0" />
    <PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
  </ItemGroup>

  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.0.0" />
  </ItemGroup>

Still getting the same error

No executable found matching command "dotnet-ef"

Thinking of removing unused frameworks, perhaps my machine config is bad.

@wonea

This comment has been minimized.

Show comment
Hide comment
@wonea

wonea Mar 7, 2017

I run PS C:\Development\MyEntity> dotnet -d ef --version
Telemetry is: Enabled
projectfactory: MSBUILD_EXE_PATH = C:\Program Files\dotnet\sdk\1.0.0\MSBuild.dll
projectfactory: MSBuild project path = C:\Development\nixor.library\nixor.log.entity\Nixor.Log.Entity.csproj
projecttoolscommandresolver: resolving commandspec from 3 Tool Libraries.
projecttoolscommandresolver: Attempting to resolve command spec from tool Microsoft.EntityFrameworkCore.Tools
projecttoolscommandresolver: nuget packages root:

projecttoolscommandresolver: Attempting to resolve command spec from tool Microsoft.EntityFrameworkCore.Tools.DotNet
projecttoolscommandresolver: nuget packages root:

projecttoolscommandresolver: Attempting to resolve command spec from tool Microsoft.EntityFrameworkCore.Design
projecttoolscommandresolver: nuget packages root:

projecttoolscommandresolver: failed to resolve commandspec from library.

wonea commented Mar 7, 2017

I run PS C:\Development\MyEntity> dotnet -d ef --version
Telemetry is: Enabled
projectfactory: MSBUILD_EXE_PATH = C:\Program Files\dotnet\sdk\1.0.0\MSBuild.dll
projectfactory: MSBuild project path = C:\Development\nixor.library\nixor.log.entity\Nixor.Log.Entity.csproj
projecttoolscommandresolver: resolving commandspec from 3 Tool Libraries.
projecttoolscommandresolver: Attempting to resolve command spec from tool Microsoft.EntityFrameworkCore.Tools
projecttoolscommandresolver: nuget packages root:

projecttoolscommandresolver: Attempting to resolve command spec from tool Microsoft.EntityFrameworkCore.Tools.DotNet
projecttoolscommandresolver: nuget packages root:

projecttoolscommandresolver: Attempting to resolve command spec from tool Microsoft.EntityFrameworkCore.Design
projecttoolscommandresolver: nuget packages root:

projecttoolscommandresolver: failed to resolve commandspec from library.

@bricelam

This comment has been minimized.

Show comment
Hide comment
@bricelam

bricelam Mar 7, 2017

Member

Do you have the latest .NET Core SDK installed? Did you run dotnet restore?

Member

bricelam commented Mar 7, 2017

Do you have the latest .NET Core SDK installed? Did you run dotnet restore?

@wonea

This comment has been minimized.

Show comment
Hide comment
@wonea

wonea Mar 8, 2017

dotnet restore worked, I was only changing the csproj in VS2017.

wonea commented Mar 8, 2017

dotnet restore worked, I was only changing the csproj in VS2017.

@wonea wonea closed this Mar 8, 2017

@julielerman

This comment has been minimized.

Show comment
Hide comment
@julielerman

julielerman Mar 8, 2017

@wonea

This comment has been minimized.

Show comment
Hide comment
@wonea

wonea Mar 8, 2017

Yes, the restore seems inconsistent with .csproj & VS2017. Sometimes it triggers - and when it does always with a long pause. I remember distinctly the project.json had a much more aggressive restore on save - VS would lock up momentarily.

It's not a problem now as I'm on the command line anyway.

wonea commented Mar 8, 2017

Yes, the restore seems inconsistent with .csproj & VS2017. Sometimes it triggers - and when it does always with a long pause. I remember distinctly the project.json had a much more aggressive restore on save - VS would lock up momentarily.

It's not a problem now as I'm on the command line anyway.

@Murf

This comment has been minimized.

Show comment
Hide comment
@Murf

Murf Apr 29, 2017

I have this problem even after a dotnet restore

Murf commented Apr 29, 2017

I have this problem even after a dotnet restore

@bricelam

This comment has been minimized.

Show comment
Hide comment
@bricelam

bricelam May 1, 2017

Member

@Murf can you submit a new issue detailing as much information about your project (versions, frameworks, runtimes, etc.) as possible?

Member

bricelam commented May 1, 2017

@Murf can you submit a new issue detailing as much information about your project (versions, frameworks, runtimes, etc.) as possible?

LuridSNK added a commit to LuridSNK/StudentsHandbook that referenced this issue Mar 5, 2018

Initial migration + fixes;
Had some troubles w/ migrations - solved w/: aspnet/EntityFrameworkCore#7801
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment