Skip to content

Conversation

@dsschnau
Copy link

@dsschnau dsschnau commented Oct 6, 2017

Hi, I noticed that the quickstart for ApplicationInsights was 1. out of date and 2. not quite correct. I updated the versions to the latest AI (2.4.0) and added that you need to specify '240' at the end of the factoryAdapter config.

Hi, I noticed that the quickstart for ApplicationInsights was 1. out of date and 2. not quite correct. I updated the versions to the latest AI (2.4.0) and added that you need to specify '240' at the end of the `factoryAdapter` config.
Copy link

@swisscoder swisscoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrected the package that needs to get installed from the package manager

There are different packages for each major Application Insights version. Install the correct package for your referenced Application Insights version. This example installs the adapter for Application Insights v2.4.0:

PM> Install-Package Microsoft.ApplicationInsights -Version 0.17.0
PM> Install-Package Microsoft.ApplicationInsights -Version 2.4.0
Copy link

@swisscoder swisscoder Mar 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The correct way to install the package is actually this:
PM> Install-Package Common.Logging.ApplicationInsights240
(This also works together with the latest version of Microsoft.ApplicationInsights (2.5.1))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants