forked from dotnet/sdk
/
Microsoft.NET.Build.Tasks.UnitTests.csproj
49 lines (39 loc) · 2.01 KB
/
Microsoft.NET.Build.Tasks.UnitTests.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
<Project>
<PropertyGroup>
<OutDirName>Tests\$(MSBuildProjectName)</OutDirName>
</PropertyGroup>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
<EnableDefaultItems>false</EnableDefaultItems>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions.Json" />
<PackageReference Include="Microsoft.Build" />
<PackageReference Include="Microsoft.Build.Utilities.Core" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" />
<PackageReference Include="NuGet.ProjectModel" />
</ItemGroup>
<!-- Packages that are in-box for .NET Core, so we only need to reference them for .NET Framework -->
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<PackageReference Include="System.Reflection.Metadata" VersionOverride="$(SystemReflectionMetadataVersion)" />
<PackageReference Include="System.Reflection.MetadataLoadContext" VersionOverride="$(SystemReflectionMetadataVersion)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.NET.Build.Tasks\Microsoft.NET.Build.Tasks.csproj" />
<ProjectReference Include="..\..\..\test\Microsoft.NET.TestFramework\Microsoft.NET.TestFramework.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="**\*.cs" />
<Compile Include="..\..\..\test\Common\Program.cs" />
</ItemGroup>
<ItemGroup>
<None Include="*.deps.json" CopyToOutputDirectory="PreserveNewest" />
<None Include="LockFiles\*.project.lock.json" CopyToOutputDirectory="PreserveNewest" />
<None Include="..\Common\Resources\Strings.resx" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
</Project>