سلام وقتتون بخیر
من میخواهم کلمات کلیدی را به پروژه اضافه کنم اما بعد از add-migration به ارور پایین برخورد میکنم
ممنون میشم راهنماییم کنید.
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///G:\asp.net\MyPr
oject\packages\EntityFramework.6.4.4\tools\EntityFramework.PowerShell.Utility.dll' or one of its dependencie
s. The system cannot find the file specified."
At G:\asp.net\MyProject\packages\EntityFramework.6.1.3\tools\EntityFramework.psm1:780 char:5
+ $utilityAssembly = [System.Reflection.Assembly]::LoadFrom((Join-P ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException
You cannot call a method on a null-valued expression.
At G:\asp.net\MyProject\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:///G:\as
p.net\MyProject\packages\EntityFramework.6.4.4\tools\EntityFramework.PowerShell.dll' or one of its dependenc
ies. The system cannot find the file specified."
At G:\asp.net\MyProject\packages\EntityFramework.6.1.3\tools\EntityFramework.psm1:809 char:5
+ $domain.CreateInstanceFrom(
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : FileNotFoundException
یه بار ویژوال استودیو رو ببند و باز کنی درست میشه... من دقیقا همین مشکل رو خیلی داشتم...