nuget update adds nuget.core dependency in mvc
Every time I do a nuget update it breaks my build/deploy.
Somewhere in my solution or project some sort of dependency is added that I cannot find or understand.
Today I updated to jQuery 1.8.20. 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
Event time (UTC): 3/20/2013 8:56:10 PM
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
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.
Sincerely, Joe
Every time I do a nuget update it breaks my build/deploy.
Somewhere in my solution or project some sort of dependency is added that I cannot find or understand.
Today I updated to jQuery 1.8.20. 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
Event time (UTC): 3/20/2013 8:56:10 PM
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1448020018/Root/PositionManagement-7-130082865703384198
Trust level: Full
Application Virtual Path: /PositionManagement
Application Path: D:\Inetpub\RJApps\MutualFundsDev.rjf.com\PositionManagement\
Machine name: ORANGEXA
Process information: Process ID: 9372
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, Func
1 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.
Sincerely, Joe