Missing option "Add Insights Telemetry to Project application" in VS 2013

I have an existing web project. I clicked "Add Insights Telemetry to Project application" and at some point in the process he made a mistake, for example, "[...] failed to initialize powershell host [...]". Then I tried a few things according to Google searches. There is no ApplicationInsights.config in the project, nor are Microsoft.ApplicationInsights.Telemetry.Services links.

Now there is no β€œAdd Insights Telemetry to Project” option anywhere. I even tried reinstalling the Application Insights extension.

I tried to revert any changes via git, but no luck.

Without my teammates, see the "Add Insights Telemetry to Project" option on VS. (We all use the Visual Studio Ultimate 2013 4 update)

In case I can't get this to work, is there a way to configure it manually?

+11
visual-studio-2013 azure azure-application-insights
source share
3 answers

You can manually add the nuget package yourself (website: http://www.nuget.org/packages/Microsoft.ApplicationInsights.Web ).

and then manually create the application analytics resource on the Azure portal ( http://portal.azure.com ), and then take the toolkit key for the new resource and paste it into the ApplicationInsights.config file in which the nuget package is installed. your project.

VSIX AI adds a GUI on top of these steps. (can help you fix anything that is wrong with vsix, I would prefer you to do it first!)

+8
source share

I found this to be due to the lack of ProjectTypeGuids objects in my csproj files.

The following ProjectTypeGuids should be present in ProjectTypeGuids :

 <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> 
+1
source share

If you are working with a .Net Core project, you should use a slightly different approach, well defined here: the .Net Core Application Insights tutorial

0
source share

All Articles