Entity Framework with NuGet - Import-Module error in init.ps1

后端 未结 1 2014
旧时难觅i
旧时难觅i 2021-01-29 03:30

Here is the complete error message that I get in the Package Manager Console when starting VS2010:

Import-Module : The specified module \'C:\\Users\\ada

相关标签:
1条回答
  • 2021-01-29 04:11

    I have no idea what was wrong, but I finally fixed this by editing the file init.ps1 inside the folder \packages\EntityFramework.4.3.1\tools.

    I changed this line:

    Import-Module (Join-Path $toolsPath 'EntityFramework.psd1') -ArgumentList $installPath
    

    Into this:

    Import-Module '.\packages\EntityFramework.4.3.1\tools\EntityFramework.psd1' -ArgumentList $installPath
    
    0 讨论(0)
提交回复
热议问题