File: Microsoft.NET.Build.Tests.csproj
Web Access
Project: ..\..\..\test\Microsoft.NET.Build.Tests\Microsoft.NET.Build.Tests.csproj (Microsoft.NET.Build.Tests)
<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="Basic.CompilerLog.Util" />
    <PackageReference Include="Microsoft.Build" />
    <PackageReference Include="MSBuild.StructuredLogger" />
    <PackageReference Include="NuGet.ProjectModel" />
    <PackageReference Include="NuGet.LibraryModel" />
    <PackageReference Include="NuGet.Versioning" />
    <PackageReference Include="NuGet.Configuration" />
    <PackageReference Include="NuGet.Frameworks" />
    <PackageReference Include="NuGet.Common" />
    <PackageReference Include="Xunit.Combinatorial" />
  </ItemGroup>
 
  <ItemGroup>
    <!-- Make sure tasks project is built, but don't directly reference it as an assembly. -->
    <ProjectReference Include="..\..\src\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" />
    <ProjectReference Include="..\..\src\Cli\Microsoft.DotNet.Configurer\Microsoft.DotNet.Configurer.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="..\..\src\Tasks\Common\Resources\Strings.resx" LinkBase="Resources" GenerateSource="True" Namespace="Microsoft.NET.Build.Tasks" />
  </ItemGroup>
 
  <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
 
</Project>