Application error with System.Reflection.TargetInvocationException error on boot - WP 8.1

I am starting to learn Application Insights and am trying to add it to my Windows Phone 8.1 application. When trying to execute a project, an exception is thrown when loading internally Public Sub New()in App.xaml.vb. The line where the error occurs is

TelemetryClient = new TelemetryClient()

The exception is

The first random error like "System.Reflection.TargetInvocationException" occurred in mscorlib.ni.dll

An exception of type "System.Reflection.TargetInvocationException" occurred in mscorlib.ni.dll, but was not processed in the user code

Additional Information: An exception was thrown by the target of the call.

Innerexception Details:

{System.InvalidOperationException: Type 'Microsoft.ApplicationInsights.Extensibility.ComponentContextInitializer, Microsoft.ApplicationInsights, Version = 0.16.1.418, Culture = neutral, PublicKeyToken = 31bf3856ad364e35'

Microsoft.ApplicationInsights.Extensibility.IContextInitializer.     Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryConfigurationFactory.CreateInstance( interfaceType, String typeName)     Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryConfigurationFactory.LoadInstance( XElement, expectType, )     Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryConfigurationFactory.LoadInstances [T] ( XElement, ICollection`1)}

, Azure. ?

+4
2

, . nuget, Application Insights. 0.16. , . Microsoft.ApplicationInsights .config .vbproj. . !

0

Windows Phone Windows Runtime Silverlight?

ApplicationInsights.config, ?

    <Add Type="Microsoft.ApplicationInsights.Extensibility.ComponentContextInitializer, Microsoft.ApplicationInsights"/>
0

All Articles