Olá,
Estou com o seguinte erro ao executar o comando Add-Migration:
System.TypeLoadException: Could not load type 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions' from assembly 'Microsoft.Extensions.DependencyInjection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. at Microsoft.Data.Entity.Design.Internal.StartupInvoker.ConfigureServices() at Microsoft.Data.Entity.Design.DbContextOperations..ctor(ILoggerProvider loggerProvider, String assemblyName, String startupAssemblyName, String environment) at Microsoft.Data.Entity.Design.MigrationsOperations..ctor(ILoggerProvider loggerProvider, String assemblyName, String startupAssemblyName, String environment, String projectDir, String rootNamespace) at Microsoft.Data.Entity.Design.OperationExecutor.<>cDisplayClass3_0.<.ctor>b3() at Microsoft.Data.Entity.Internal.LazyRef1.get_Value() at Microsoft.Data.Entity.Design.OperationExecutor.d__7.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at Microsoft.Data.Entity.Design.OperationExecutor.OperationBase.<>cDisplayClass4_0`1.b0() at Microsoft.Data.Entity.Design.OperationExecutor.OperationBase.Execute(Action action) Could not load type 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions' from assembly 'Microsoft.Extensions.DependencyInjection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
Utilizo o Visual Studio 2015 community e a minha máquina é um Windows 10. Alguém sabe como posso resolver esse problema?
Grato.