مرجع تخصصی برنامه نویسان

بزرگترین انجمن برنامه نویسان فارسی زبان

مشکل در بروز رسانی Migration

شنبه, 21 تیر 1399 11:35

مشکل در بروز رسانی Migration

Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\Users\lenovo\Desktop\Cms\cms-news\cms-news\packages\EntityFramework.6.4.4\t
ools\EntityFramework.PowerShell.Utility.dll' or one of its dependencies. The system cannot find the file specified."
At C:\Users\lenovo\Desktop\Cms\cms-news\cms-news\packages\EntityFramework.6.2.0\tools\EntityFramework.psm1:782 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 C:\Users\lenovo\Desktop\Cms\cms-news\cms-news\packages\EntityFramework.6.2.0\tools\EntityFramework.psm1:783 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:\Users\lenovo\Desktop\Cms\cms-news\cms-news\packages\EntityFramewo
rk.6.4.4\tools\EntityFramework.PowerShell.dll' or one of its dependencies. The system cannot find the file specified."
At C:\Users\lenovo\Desktop\Cms\cms-news\cms-news\packages\EntityFramework.6.2.0\tools\EntityFramework.psm1:811 char:5
+     $domain.CreateInstanceFrom(
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : FileNotFoundException

وقتی میخوام چیزی به جدولم اصافه کنم با Migration  این خطا رو بهم نشون میده اگه کسی میدونه بگه 

ممنون میشم

ارسال پاسخ برای این تاپیک