Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install Microsoft.ApplicationInsights 2.0.1 from NuGet

Can't upgrade Microsoft.ApplicationInsights from 2.0.0 to 2.0.1 from NuGet. It complains that Microsoft.ApplicationInsights.DependencyCollector has a constraint that requires Microsoft.ApplicationInsights 1.2.0. (The dependency would need to be >= 1.2.0 for the dependency to be resolved.)

Specifically, the error message is:

Unable to resolve dependencies.
'Microsoft.ApplicationInsights 2.0.1' is not compatible with
  'Microsoft.ApplicationInsights.DependencyCollector 1.2.0 constraint: Microsoft.ApplicationInsights (= 1.2.0)',
  'Microsoft.ApplicationInsights.PerfCounterCollector 1.2.0 constraint: Microsoft.ApplicationInsights (= 1.2.0)',
  'Microsoft.ApplicationInsights.Web 1.1.0 constraint: Microsoft.ApplicationInsights (>= 1.1.0)',
  'Microsoft.ApplicationInsights.Web.TelemetryChannel 0.17.0 constraint: Microsoft.ApplicationInsights (>= 0.17.0)',
  'Microsoft.ApplicationInsights.WindowsServer 1.2.0 constraint: Microsoft.ApplicationInsights (= 1.2.0)',
  'Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel 1.2.0 constraint: Microsoft.ApplicationInsights (= 1.2.0)'.

I haven't found a workaround, and I've found almost no chatter via The Google regarding this issue. Anyone have any suggestions?

like image 205
Bob.at.Indigo.Health Avatar asked Apr 30 '16 19:04

Bob.at.Indigo.Health


1 Answers

Microsoft has updated the release notes to state that version 2.01 is not intended for web applications and to continue to use 2.00.

Release Notes

like image 82
cs-NET Avatar answered Nov 18 '22 18:11

cs-NET