包管理器ASP.NET .friendlyurls无法加载 [英] Package manager ASP.NET .friendlyurls could not load
问题描述
我尝试使用Package Manager控件安装FriendlyUrls.Core,我收到以下消息后跟找不到Scripts文件夹
模块'包'无法加载。有关更多信息,请运行导入 - 模块包。
在C:\BegASPNET \Site \packages \Modernizr.2.8.3 \tools \ install.ps1:3 char :3
+。(Join-Path $ toolsPath common.ps1)
+ ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
+ CategoryInfo:ObjectNotFound :( Package\common.ps1:String)[],CommandNotFoundException
+ FullyQualifiedErrorId:CouldNotAutoLoadModule
我不明白该怎么做。
谢谢
我尝试过:
1.启动软件包管理器控制台
2.输入:Install-Package Microsoft.AspNet.FriendlyUrls.core
3.收到以上错误消息
I tried to install the FriendlyUrls.Core using the Package Manager control and I received the following message followed by "No Scripts folder found"
Module 'Package' could not be loaded. For more information, run 'Import-Module Package".
At C:\BegASPNET\Site\packages\Modernizr.2.8.3\tools\install.ps1:3 char:3
+ . (Join-Path $toolsPath common.ps1)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Package\common.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoLoadModule
I'm don't understand what to do.
Thanks
What I have tried:
1. Started Package Manager Console
2. Typed in: Install-Package Microsoft.AspNet.FriendlyUrls.core
3. Received above error message
推荐答案
toolsPath common.ps1)
+ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
+ CategoryInfo:ObjectNotFound :( Package \ common.ps1:String)[ ],CommandNotFoundException
+ FullyQualifiedErrorId:CouldNotAutoLoadModule
我不明白该怎么做。
谢谢
我的尝试:
1.启动软件包管理器控制台
2.输入:Install-Package Microsoft.AspNet.FriendlyUrls.core
3.收到上述错误消息
toolsPath common.ps1)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Package\common.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoLoadModule
I'm don't understand what to do.
Thanks
What I have tried:
1. Started Package Manager Console
2. Typed in: Install-Package Microsoft.AspNet.FriendlyUrls.core
3. Received above error message
这篇关于包管理器ASP.NET .friendlyurls无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!