<!--
***********************************************************************************************
Sdk.targets

WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
          created a backup copy.  Incorrect changes to this file will make it
          impossible to load or build your projects from the command-line or the IDE.

Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project ToolsVersion="14.0">

  <Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" Condition="'$(_RazorSdkImportsMicrosoftNetSdk)' == 'true'" />
  <Import Sdk="Microsoft.NET.Sdk.StaticWebAssets" Project="Sdk.targets" Condition="'$(_RazorSdkImportsMicrosoftNetSdkStaticWebAssets)' == 'true'" />

  <Choose>
  
    <When Condition="'$(PVSBuildTools_NETCoreSdkMajorVersion)' != '' and '$(PVSBuildTools_NETCoreSdkMajorVersion)' &lt; '6'">  
      <PropertyGroup Condition="'$(RazorSdkCurrentVersionTargets)' == ''">
        <RazorSdkCurrentVersionTargets Condition="'$(IsCrossTargetingBuild)' == 'true'">$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Razor\buildMultiTargeting\Sdk.Razor.CurrentVersion.MultiTargeting.targets</RazorSdkCurrentVersionTargets>
        <RazorSdkCurrentVersionTargets Condition="'$(IsCrossTargetingBuild)' != 'true'">$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Sdk.Razor.CurrentVersion.targets</RazorSdkCurrentVersionTargets>
      </PropertyGroup>
    </When>
    
    <Otherwise>
      <PropertyGroup Condition="'$(RazorSdkCurrentVersionTargets)' == ''">
        <RazorSdkCurrentVersionTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Razor\targets\Sdk.Razor.CurrentVersion.targets</RazorSdkCurrentVersionTargets>
      </PropertyGroup>
    </Otherwise>
    
  </Choose>

  <Import Project="$(RazorSdkCurrentVersionTargets)" />

</Project>
