Hi,
I’ve tried to run the migration update command but I got this error, could you help, please?
Exception calling “LoadFrom” with “1” argument(s): “Could not load file or assembly
‘file:///D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.PowerShell.Utility.dll’ or one of its dependencies. Operation is not
supported. (Exception from HRESULT: 0x80131515)”
At D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\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 D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\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:///D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.PowerShell.dll’ or one of its dependencies. Operation is not supported.
(Exception from HRESULT: 0x80131515)”
At D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.psm1:809 char:5
-
$domain.CreateInstanceFrom(
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: ( [], MethodInvocationException
- FullyQualifiedErrorId : FileLoadException
PM> Add-Migration InitialModel -force
Exception calling “LoadFrom” with “1” argument(s): “Could not load file or assembly
‘file:///D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.PowerShell.Utility.dll’ or one of its dependencies. Operation is not
supported. (Exception from HRESULT: 0x80131515)”
At D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\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 D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\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:///D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.PowerShell.dll’ or one of its dependencies. Operation is not supported.
(Exception from HRESULT: 0x80131515)”
At D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.psm1:809 char:5
-
$domain.CreateInstanceFrom(
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: ( [], MethodInvocationException
- FullyQualifiedErrorId : FileLoadException
PM> Update-Database
Exception calling “LoadFrom” with “1” argument(s): “Could not load file or assembly
‘file:///D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.PowerShell.Utility.dll’ or one of its dependencies. Operation is not
supported. (Exception from HRESULT: 0x80131515)”
At D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\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 D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\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:///D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.PowerShell.dll’ or one of its dependencies. Operation is not supported.
(Exception from HRESULT: 0x80131515)”
At D:\Projects\Examples\PlutoWeb\packages\EntityFramework.6.1.1\tools\EntityFramework.psm1:809 char:5
-
$domain.CreateInstanceFrom(
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: ( [], MethodInvocationException
- FullyQualifiedErrorId : FileLoadException
PM