Chr*_*ett 4 entity-framework-core asp.net-core
尝试将现有项目从beta 8更改为RC1后,我在运行后得到以下内容 dnx ef migrations add Init
System.TypeLoadException: Could not load type 'Microsoft.Data.Entity.Scaffolding.SqliteDesignTimeServices, EntityFramework.Sqlite.Design'.
  at Microsoft.Data.Entity.Design.Internal.DesignTimeServicesBuilder.ConfigureProviderServices (System.String provider, IServiceCollection services, Boolean throwOnError) [0x00000] in <filename unknown>:0 
  at Microsoft.Data.Entity.Design.Internal.DesignTimeServicesBuilder.Build (Microsoft.Data.Entity.DbContext context) [0x00000] in <filename unknown>:0 
  at Microsoft.Data.Entity.Design.MigrationsOperations.AddMigration (System.String name, System.String outputDir, System.String contextType) [0x00000] in <filename unknown>:0 
  at Microsoft.Data.Entity.Commands.Program+Executor+<>c__DisplayClass6_0.<AddMigration>b__0 () [0x00000] in <filename unknown>:0 
  at Microsoft.Data.Entity.Commands.Program+Executor.Execute (System.Action action) [0x00000] in <filename unknown>:0 
Could not load type 'Microsoft.Data.Entity.Scaffolding.SqliteDesignTimeServices, EntityFramework.Sqlite.Design'.
Run Code Online (Sandbox Code Playgroud)
我的project.json文件包含以下内容
"dependencies": {
  "EntityFramework.Commands": "7.0.0-rc1-final",
  "EntityFramework.SQLite": "7.0.0-rc1-final"
},
"commands": {
  "ef": "EntityFramework.Commands"
},
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能解决此错误?
由于区分大小写的文件系统,软件包名称在Linux和OS X上区分大小写.确保EntityFramework.Sqlite不要EntityFramework.SQLite在project.json文件中使用not .(参见GitHub Issue dotnet/cli#236)
|   归档时间:  |  
           
  |  
        
|   查看次数:  |  
           877 次  |  
        
|   最近记录:  |