无法索引到 System.Xml.XPathNodeList 类型的对象



Visual Studio 2015 + Framework 4.5 + Nuget Package Manager console + 通过命令安装 Umbraco7 (Install-Package uCommerce.Umbraco7") = 收到以下错误:

Unable to index into an object of type System.Xml.XPathNodeList.
At E:ShopKartpackagesuCommerce.Umbraco7.8.0.0.18352toolsinstall.ps1:59 char:129
+     $perRequestLifestyleHttpModulesElement = $webConfig.SelectNodes("//system.web//httpModules//add[@name='PerRequestLifestyle']")[
 <<<< 0]
    + CategoryInfo          : InvalidOperation: (0:Int32) [], RuntimeException
    + FullyQualifiedErrorId : CannotIndex

该软件包不包含 Umbraco 7,它包含 Umbraco 7 的 UCommerce :-/尝试安装包 UmbracoCms?

相关内容

  • 没有找到相关文章

最新更新