<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <!--
    Create Application Insights references for C++ projects, which NuGet does not support automatically.
    We don't want to do this for other project types because references added through MSBuild files are not picked up by IntelliSense until the project is reloaded.
  -->
  <ItemGroup Condition="'$(ProjectExt)' == '.vcxproj'">
    <Reference Include="Microsoft.ApplicationInsights.RuntimeTelemetry">
      <HintPath>$(MSBuildThisFileDirectory)..\..\lib\portable-win81+wpa81\Microsoft.ApplicationInsights.Extensibility.RuntimeTelemetry.winmd</HintPath>
      <IsWinMDFile>true</IsWinMDFile>
    </Reference>
  </ItemGroup>
</Project>