<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <PropertyGroup>
    <PVSBuildTools_NETCoreCommonProps>imported</PVSBuildTools_NETCoreCommonProps>
  </PropertyGroup>
  
  <!-- Common target for .NET Core projects -->
  <PropertyGroup>
    <PVSBuildTools_NetCoreTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk\targets</PVSBuildTools_NetCoreTargets>
    <PVSBuildTools_NetCoreTargets Condition="!Exists('$(PVSBuildTools_NetCoreTargets)')">$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk\build</PVSBuildTools_NetCoreTargets>
  </PropertyGroup>

  <!-- Razor targets for new ASP.NET Core projects -->
  <PropertyGroup>
    <PVSBuildTools_RazorTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Razor\targets</PVSBuildTools_RazorTargets>
    <PVSBuildTools_RazorTargets Condition="!Exists('$(PVSBuildTools_RazorTargets)')">$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Razor\build</PVSBuildTools_RazorTargets>
  </PropertyGroup>

  <!-- ILLink tasks folder for .NET Core projects -->
  <PropertyGroup>
    <PVSBuildTools_ILLinkTasks>$(PVS_NETCoreSdksPath)\ILLink.Tasks</PVSBuildTools_ILLinkTasks>
  </PropertyGroup>

  <PropertyGroup>
    <PVSBuildTools_NetILLinkTasks>$(PVS_NETCoreSdksPath)\Microsoft.NET.ILLink.Tasks</PVSBuildTools_NetILLinkTasks>
  </PropertyGroup>

  <!-- Common targets for .NET Core Windows Desktop projects -->
  <PropertyGroup>
    <PVSBuildTools_NetCoreWinDesktopTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.WindowsDesktop\targets</PVSBuildTools_NetCoreWinDesktopTargets>
  </PropertyGroup>

  <PropertyGroup>
    <PVSBuildTools_NetCorePublishTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Publish\targets</PVSBuildTools_NetCorePublishTargets>
    <PVSBuildTools_NetCorePublishTargets Condition="!(Exists('$(PVSBuildTools_NetCorePublishTargets)'))">$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Publish\build\netstandard1.0</PVSBuildTools_NetCorePublishTargets>
  </PropertyGroup>

  <PropertyGroup>
    <PVSBuildTools_NetCoreWebProjectSystemTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Web.ProjectSystem\targets</PVSBuildTools_NetCoreWebProjectSystemTargets>
    <PVSBuildTools_NetCoreWebProjectSystemTargets Condition="!(Exists('$(PVSBuildTools_NetCoreWebProjectSystemTargets)'))">$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Web.ProjectSystem\build\netstandard1.0</PVSBuildTools_NetCoreWebProjectSystemTargets>
  </PropertyGroup>

  <PropertyGroup>
    <PVSBuildTools_BlazorWebAssemblyTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.BlazorWebAssembly\targets</PVSBuildTools_BlazorWebAssemblyTargets>
  </PropertyGroup>

  <PropertyGroup>
    <PVSBuildTools_NetCoreSDKWorkerTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.Worker\targets</PVSBuildTools_NetCoreSDKWorkerTargets>
  </PropertyGroup>
  
  <PropertyGroup>
    <PVSBuildTools_ILCompilerBuild>$(PVS_NETCoreSdksPath)\Microsoft.DotNet.ILCompiler\build</PVSBuildTools_ILCompilerBuild>
  </PropertyGroup>
  
  <PropertyGroup>
    <PVSBuildTools_StaticWebAssetsTargets>$(PVS_NETCoreSdksPath)\Microsoft.NET.Sdk.StaticWebAssets\targets</PVSBuildTools_StaticWebAssetsTargets>
  </PropertyGroup>

  <PropertyGroup>
    <!-- Turning off the warning about the end-of-life framework versions -->
    <CheckEolTargetFramework>false</CheckEolTargetFramework>
  </PropertyGroup>
</Project>