我试图进入我的程序包管理器控制台,但是它给了我以下错误:
“在读取文件'C:\ Users \ rein.shope \ Documents \ Visual Studio 2015 \ Projects \ Vidly \ Vidly \ packages.config'时发生错误:空软件包ID”
该错误显示在窗口顶部的一个带有“还原”按钮的功能区中(单击无效),并以红色文字显示在窗口内。控制台不允许我输入命令。
“packages.config”的内容:
“在读取文件'C:\ Users \ rein.shope \ Documents \ Visual Studio 2015 \ Projects \ Vidly \ Vidly \ packages.config'时发生错误:空软件包ID”
该错误显示在窗口顶部的一个带有“还原”按钮的功能区中(单击无效),并以红色文字显示在窗口内。控制台不允许我输入命令。
“packages.config”的内容:
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package Id="Antlr" version="3.4.1.9004" targetFramework="net452" />
<package Id="bootstrap" version="3.0.0" targetFramework="net452" />
<package Id="EntityFramework" version="6.1.3" targetFramework="net452" />
<package Id="jQuery" version="1.10.2" targetFramework="net452" />
<package Id="jQuery.ValIdation" version="1.11.1" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights" version="2.0.0" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights.Agent.Intercept" version="1.2.1" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights.DependencyCollector" version="2.0.0" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights.JavaScript" version="0.22.9-build00167" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights.PerfCounterCollector" version="2.0.0" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights.Web" version="2.0.0" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights.WindowsServer" version="2.0.0" targetFramework="net452" />
<package Id="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" version="2.0.0" targetFramework="net452" />
<package Id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net452" />
<package Id="Microsoft.AspNet.Identity.EntityFramework" version="2.2.1" targetFramework="net452" />
<package Id="Microsoft.AspNet.Identity.Owin" version="2.2.1" targetFramework="net452" />
<package Id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net452" />
<package Id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net452" />
<package Id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net452" />
<package Id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net452" />
<package Id="Microsoft.CodeDom.ProvIders.DotNetCompilerPlatform" version="1.0.0" targetFramework="net452" />
<package Id="Microsoft.jQuery.Unobtrusive.ValIdation" version="3.2.3" targetFramework="net452" />
<package Id="Microsoft.Net.Compilers" version="1.0.0" targetFramework="net452" developmentDependency="true" />
<package Id="Microsoft.Owin" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Host.SystemWeb" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Security" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Security.Cookies" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Security.Facebook" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Security.Google" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Security.MicrosoftAccount" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Security.OAuth" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Owin.Security.Twitter" version="3.0.1" targetFramework="net452" />
<package Id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net452" />
<package Id="Modernizr" version="2.6.2" targetFramework="net452" />
<package Id="Newtonsoft.Json" version="6.0.4" targetFramework="net452" />
<package Id="Owin" version="1.0" targetFramework="net452" />
<package Id="Respond" version="1.2.0" targetFramework="net452" />
<package Id="WebGrease" version="1.5.2" targetFramework="net452" />
</packages>
所有的Id
字段似乎完好无损。Google搜索未返回“null或空包ID”的内容。