0

Currently I have two Instrumentations Key, one in the Azure Application Insights, and another in the Windows Dev Center.

My ApplicationInsights.config has the Azure key so I don't see analytics in the dev center.

Is there anyway to change the Windows Dev Center key to the same as Azure, or vice versa?

Thanks

4

1 回答 1

0

我设法解决了这个问题。我的 ApplicationInsights.config 配置错误,缺少 xmlns。它应该是这样的:

<?xml version="1.0" encoding="utf-8" ?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
    <InstrumentationKey> ...key here... </InstrumentationKey>
</ApplicationInsights>

相反,我有这样的:

<?xml version="1.0" encoding="utf-8" ?>
<ApplicationInsights>
    <InstrumentationKey> ...key here... </InstrumentationKey>
</ApplicationInsights>
于 2016-02-21T21:50:18.177 回答