forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMicrosoft.NET.Build.Tests.csproj
More file actions
56 lines (44 loc) · 2.49 KB
/
Microsoft.NET.Build.Tests.csproj
File metadata and controls
56 lines (44 loc) · 2.49 KB
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
50
51
52
53
54
55
56
<?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>
<EnableDefaultItems>false</EnableDefaultItems>
<OutDirName>Tests\$(MSBuildProjectName)</OutDirName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<!-- Strip the '-parallel none' flag here -->
<XUnitRunnerAdditionalArguments></XUnitRunnerAdditionalArguments>
<PackageId>testSdkBuild</PackageId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
<PackageReference Include="NuGet.ProjectModel" Version="$(NuGetProjectModelVersion)" />
<PackageReference Include="NuGet.LibraryModel" Version="$(NuGetProjectModelVersion)" />
<PackageReference Include="NuGet.Versioning" Version="$(NuGetProjectModelVersion)" />
<PackageReference Include="NuGet.Configuration" Version="$(NuGetProjectModelVersion)" />
<PackageReference Include="NuGet.Frameworks" Version="$(NuGetProjectModelVersion)" />
<PackageReference Include="NuGet.Common" Version="$(NuGetProjectModelVersion)" />
</ItemGroup>
<ItemGroup>
<!-- Make sure tasks project is built, but don't directly reference it as an assembly. -->
<ProjectReference Include="..\..\Tasks\Microsoft.NET.Build.Tasks\Microsoft.NET.Build.Tasks.csproj" PrivateAssets="all" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\Microsoft.NET.TestFramework\Microsoft.NET.TestFramework.csproj" />
<ProjectReference Include="..\TelemetryStdOutLogger\TelemetryStdOutLogger.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="**\*.cs" Exclude="$(GlobalExclude)" />
<Compile Include="$(RepoRoot)src\Common\EnvironmentVariableNames.cs" LinkBase="Common"/>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="**\*.resx" Exclude="$(GlobalExclude)" />
<!-- Use string resources from tasks in order to validate test output. -->
<EmbeddedResource Include="..\..\Tasks\Common\Resources\Strings.resx" LinkBase="Resources" GenerateSource="True" Namespace="Microsoft.NET.Build.Tasks" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
</Project>