nuget update adds nuget.core dependency in mvc web app
Every time I do a nuget update it breaks my deployment.
Somewhere in my solution or project some sort of dependency is added that I cannot find or understand or get rid of.
Today I updated jQuery. Everything seemed fine running locally.
When I deploy to DEV I get an error in the app start up.
I find it very stressful.
The last time this happened I spent most of my day removing every single solitary NuGet package, and adding them all back again.
What a stressfull total pain.
Any suggestions will be appreciated.
Right now my app is dead in the water!
Sincerely, Joe
Every time I do a nuget update it breaks my deployment.
Somewhere in my solution or project some sort of dependency is added that I cannot find or understand or get rid of.
Today I updated jQuery. Everything seemed fine running locally.
When I deploy to DEV I get an error in the app start up.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/20/2013 4:56:10 PM
Process name: w3wp.exe
Exception information:
Exception type: InvalidOperationException
Exception message: The pre-application start initialization method Start on type System.Web.WebPages.Administration.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'NuGet.Core, Version=1.0.11220.104, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. at System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection1 methods)
at System.Web.Compilation.BuildManager.CallPreStartInitMethods()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Could not load file or assembly 'NuGet.Core, Version=1.0.11220.104, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at System.Web.WebPages.ApplicationParts.ResourceAssembly.GetTypes()
at System.Web.WebPages.ApplicationParts.ApplicationPartRegistry.Register(ApplicationPart applicationPart, Func1 registerPageAction)
at System.Web.WebPages.ApplicationPart.Register(ApplicationPart applicationPart)
at System.Web.WebPages.Administration.SiteAdmin.RegisterAdminModule()
at System.Web.WebPages.Administration.PreApplicationStartCode.Start()
Why does NuGet do this to me? I find it very stressful.
The last time this happened I spent most of my day removing every single solitary NuGet package, and adding them all back again.
What a stressfull total pain.
Any suggestions will be appreciated.
Right now my app is dead in the water!
Sincerely, Joe