c# - Microsoft.ApplicationInsights.Contracts does not exist in Microsoft.ApplicationInsights -


i wanted have go @ microsoft.applicationinsights telemetry. documentation claims that telemetrycontext supposed in microsoft.applicationinsights.contracts namespace, when grab application insights web nuget (it gets me microsoft.applicationinsights dependency), not seem have contracts in it.

microsoft.applicationinsights.contracts nuget search gives no results.

i must missing obvious here.

the documentation on msdn appears out of date.

in 1.1 of application insights sdk (the latest, i'm assuming using), has telemetrycontext in namespace: microsoft.applicationinsights.datacontracts (note datacontracts not contracts). used resharper let find telemetrycontext class , found in namespace in core package (microsoft.applicationinsights).

the sdk release notes not mention namespace moving however, https://azure.microsoft.com/en-us/documentation/articles/app-insights-release-notes-dotnet/.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -