Skip to content

Commit

Permalink
Merge pull request dotnet#4355 from aspnet/scottaddie/dedent-app-insi…
Browse files Browse the repository at this point in the history
…ghts

Dedent App Insights code snippet
  • Loading branch information
scottaddie authored Sep 22, 2017
2 parents 78d2817 + f45abcb commit ead5ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/migration/1x-to-2x/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ ASP.NET Core 1.1 projects created in Visual Studio 2017 added Application Insigh

3. Remove the Application Insights client-side API call from *_Layout.cshtml*. It comprises the following two lines of code:

[!code-cshtml[Main](../1x-to-2x/samples/AspNetCoreDotNetCore1App/AspNetCoreDotNetCore1App/Views/Shared/_Layout.cshtml?range=1,19)]
[!code-cshtml[Main](../1x-to-2x/samples/AspNetCoreDotNetCore1App/AspNetCoreDotNetCore1App/Views/Shared/_Layout.cshtml?range=1,19&dedent=4)]

If you are using the Application Insights SDK directly, continue to do so. The 2.0 [metapackage](xref:fundamentals/metapackage) includes the latest version of Application Insights, so a package downgrade error appears if you're referencing an older version.

Expand Down

0 comments on commit ead5ed1

Please sign in to comment.