Skip to content
This repository was archived by the owner on Sep 21, 2018. It is now read-only.

WebApp With ApplicationInsights does not work #546

Closed
rustd opened this issue May 6, 2016 · 2 comments
Closed

WebApp With ApplicationInsights does not work #546

rustd opened this issue May 6, 2016 · 2 comments

Comments

@rustd
Copy link
Contributor

rustd commented May 6, 2016

It fails with the following 2 errors

The type or namespace name 'OptionsModel' does not exist in the namespace 'Microsoft.Extensions' (are you missing an assembly reference?)
@using Microsoft.Extensions.OptionsModel

An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.
/Views/Shared/_Layout.cshtml
'IHtmlHelper' does not contain a definition for 'ApplicationInsightsJavaScript' and no extension method 'ApplicationInsightsJavaScript' accepting a first argument of type 'IHtmlHelper' could be found (are you missing a using directive or an assembly reference?)
@Html.ApplicationInsightsJavaScript(TelemetryConfiguration)

@rustd rustd added this to the 1.0.0-rc2 milestone May 6, 2016
@rustd
Copy link
Contributor Author

rustd commented May 6, 2016

This is with the 118 bundle build

@phenning
Copy link
Contributor

phenning commented May 9, 2016

TFS: 220097

@phenning phenning removed their assignment May 10, 2016
@rustd rustd added 3 - Done bug and removed bug labels May 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants