Erro ao tentar habilitar Migrations
Olá
Estou tentando habilitar o Migrations em uma aplicação e estou tendo o seguinte problema, alguém sabe como posso resolver,
As dependências que o VS alega não existir estão lá na pasta indicada
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\AcademicArea\ProjetoWeb\5 - ProjetoWeb\Production\packages\EntityFramework.6.1.3\tools\EntityFramework.PowerShell.Utility.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT:
0x80131515)"
At C:\AcademicArea\ProjetoWeb\5 - ProjetoWeb \Production\packages\EntityFramework.6.1.3\tools\EntityFramework.psm1:780 char:5
+ $utilityAssembly = [system.Reflection.Assembly]::LoadFrom((Join-P ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( : ) [], MethodInvocationException
+ FullyQualifiedErrorId : FileLoadException
You cannot call a method on a null-valued expression.
At C:\AcademicArea\ProjetoWeb\5 - ProjetoWeb\Production\packages\EntityFramework.6.1.3\tools\EntityFramework.psm1:781 char:5
+ $dispatcher = $utilityAssembly.CreateInstance(
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ( : ) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Exception calling "CreateInstanceFrom" with "8" argument(s): "Could not load file or assembly 'file:///C:\AcademicArea\ProjetoWeb\5 - ProjetoWeb\Production\packages\EntityFramework.6.1.3\tools\EntityFramework.PowerShell.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT:
0x80131515)"
At C:\AcademicArea\ProjetoWeb\5 - ProjetoWeb\Production\packages\EntityFramework.6.1.3\tools\EntityFramework.psm1:809 char:5
+ $domain.CreateInstanceFrom(
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( : ) [], MethodInvocationException
+ FullyQualifiedErrorId : FileLoadException
Discussão (0)
Carregando comentários...