|
<!--
***********************************************************************************************
Microsoft.NET.ApiCompat.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>
<PropertyGroup Condition="'$(UseApiCompatPackage)' != 'true'">
<DotNetApiCompatTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)..\tools\net472\Microsoft.DotNet.ApiCompat.Task.dll</DotNetApiCompatTaskAssembly>
<DotNetApiCompatTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)..\tools\net8.0\Microsoft.DotNet.ApiCompat.Task.dll</DotNetApiCompatTaskAssembly>
</PropertyGroup>
<ItemGroup Condition="'$(EnablePackageValidation)' == 'true' and
'$(DisablePackageBaselineValidation)' != 'true' and
'$(PackageValidationBaselinePath)' == '' and
'$(PackageValidationBaselineVersion)' != ''">
<PackageDownload Include="$([MSBuild]::ValueOrDefault('$(PackageValidationBaselineName)', '$(PackageId)'))" Version="[$(PackageValidationBaselineVersion)]" />
</ItemGroup>
<ImportGroup Condition="'$(UseApiCompatPackage)' != 'true'">
<Import Project="Microsoft.NET.ApiCompat.Common.targets" />
<Import Project="Microsoft.NET.ApiCompat.ValidatePackage.targets" />
</ImportGroup>
</Project>
|