c# - Visual Studio 2015, entity framework and enable-migrations error -


as usual have strange problem in visual studio 2015 entity framework. i've created entity project 1 table , 1 context.

when in package manager console tried enable migrations enable-migrations receive following error:

type name 'microsoft.visualstudio.shell.package' ambiguous, 'microsoft.visualstudio.shell.package, microsoft.visualstudio.shell.14.0, version=14.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 'microsoft.visualstudio.shell.package, microsoft.visualstudio.shell.10.0, version=14.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a'. @ c:\program files (x86)\microsoft visual studio 14.0\common7\ide\extensions\34ki2dkf.cbd\modules\nuget\profile.ps1:126 char:5 + $service = [microsoft.visualstudio.shell.package]::getglobalservi ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : invalidargument: (:) [], runtimeexception + fullyqualifiederrorid : ambiguoustypereference type name 'nuget.visualstudio.ivspackageinstallerservices' ambiguous, 'nuget.visualstudio.ivspackageinstallerservices, xamarin.testcloud.integration, version=3.11.0.0, culture=neutral, publickeytoken=0738eb9f132ed756' or 'nuget.visualstudio.ivspackageinstallerservices, xamarin.visualstudio.ios.migration.shell, version=3.11.0.0, culture=neutral, publickeytoken=0738eb9f132ed756'. @ c:\projects\web\psc.shorturl.web\packages\entityframework.6.1.3\tools\entityframework.psm1:1004 char:5 + $packageinstallerservices = $componentmodel.getservice([nuget.vis ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : invalidargument: (:) [], runtimeexception + fullyqualifiederrorid : ambiguoustypereference cannot call method on null-valued expression. @ c:\projects\web\psc.shorturl.web\packages\entityframework.6.1.3\tools\entityframework.psm1:1006 char:5 + $vspackage = $packageinstallerservices.getinstalledpackages() | ? ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : invalidoperation: (:) [], runtimeexception + fullyqualifiederrorid : invokemethodonnull join-path : cannot bind argument parameter 'path' because null. @ c:\projects\web\psc.shorturl.web\packages\entityframework.6.1.3\tools\entityframework.psm1:713 char:28 + $toolspath = join-path $installpath tools + ~~~~~~~~~~~~ + categoryinfo : invaliddata: (:) [join-path], parameterbindingvalidationexception + fullyqualifiederrorid : parameterargumentvalidationerrornullnotallowed,microsoft.powershell.commands.joinpathcommand join-path : cannot bind argument parameter 'path' because null. @ c:\projects\web\psc.shorturl.web\packages\entityframework.6.1.3\tools\entityframework.psm1:780 char:74 + ... [system.reflection.assembly]::loadfrom((join-path $toolspath entityf ... + ~~~~~~~~~~ + categoryinfo : invaliddata: (:) [join-path], parameterbindingvalidationexception + fullyqualifiederrorid : parameterargumentvalidationerrornullnotallowed,microsoft.powershell.commands.joinpathcommand cannot call method on null-valued expression. @ c:\projects\web\psc.shorturl.web\packages\entityframework.6.1.3\tools\entityframework.psm1:781 char:5 + $dispatcher = $utilityassembly.createinstance( + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + categoryinfo : invalidoperation: (:) [], runtimeexception + fullyqualifiederrorid : invokemethodonnull join-path : cannot bind argument parameter 'path' because null. @ c:\projects\web\psc.shorturl.web\packages\entityframework.6.1.3\tools\entityframework.psm1:810 char:20 + (join-path $runner.toolspath entityframework.powershell.dll), + ~~~~~~~~~~~~~~~~~ + categoryinfo : invaliddata: (:) [join-path], parameterbindingvalidationexception + fullyqualifiederrorid : parameterargumentvalidationerrornullnotallowed,microsoft.powershell.commands.joinpathcommand

do have idea how can resolve problem? thank in advance.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -