forked from dotnet/sdk
/
Microsoft.DotNet.ApiCompat.IntegrationTests.csproj
31 lines (25 loc) · 1.48 KB
/
Microsoft.DotNet.ApiCompat.IntegrationTests.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472;$(ToolsetTargetFramework)</TargetFrameworks>
<OutputType Condition="'$(TargetFramework)' == '$(ToolsetTargetFramework)'">Exe</OutputType>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Microsoft.DotNet.ApiCompatibility.Tests\SuppressableTestLog.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\..\ApiCompat\Microsoft.DotNet.PackageValidation\Resources.resx" GenerateSource="true" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ApiCompat\Microsoft.DotNet.PackageValidation\Microsoft.DotNet.PackageValidation.csproj" />
<ProjectReference Include="..\..\ApiCompat\Microsoft.DotNet.ApiCompat.Task\Microsoft.DotNet.ApiCompat.Task.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\Microsoft.NET.TestFramework\Microsoft.NET.TestFramework.csproj" />
</ItemGroup>
<Target Name="CopyApiCompatFilesForTests" AfterTargets="Publish">
<ItemGroup>
<ApiCompatFile Include="..\..\ApiCompat\Microsoft.DotNet.ApiCompat.Task\**" />
<ApiCompatFile Include="..\..\Tasks\Microsoft.NET.Build.Tasks\targets\Microsoft.NET.ApiCompat.targets" />
</ItemGroup>
<Copy SourceFiles="@(ApiCompatFile)" DestinationFiles="@(ApiCompatFile->'$(PublishDir)ApiCompat\Microsoft.DotNet.ApiCompat.Task\%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
</Project>