I am trying to enter the package manager console and this gives me the following error:
An error occurred while reading file 'C:\Users\rein.shope\Documents\Visual Studio 2015\Projects\Vidly\Vidly\packages.config': Null or empty package id
The error is displayed both on the ribbon over the window (with the "Restore" button, which does nothing when clicked), and in red text in the window. The console will not allow me to enter commands.
Content 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>
All fields Idseem intact. A Google search returns nothing for "null or empty package identifier".
source
share