<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(RuntimeOutputTargetFrameworks)</TargetFrameworks>
<AssemblyName>Microsoft.Build.UnitTests.Shared</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsShipping>false</IsShipping>
<IsTestProject>false</IsTestProject>
<IsTestLibrary>true</IsTestLibrary>
</PropertyGroup>
<ItemGroup>
<!-- Implicit references to xunit.core and xunit.assert in test projects by Arcade
cause restore failures if PackageVersion is in the normal .props file. -->
<PackageReference Include="xunit.assert" VersionOverride="$(XUnitVersion)" />
<PackageReference Include="xunit.core" VersionOverride="$(XUnitVersion)" />
<PackageReference Include="Shouldly" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Build\Microsoft.Build.csproj" />
<ProjectReference Include="..\Utilities\Microsoft.Build.Utilities.csproj" />
<ProjectReference Include="..\Xunit.NetCore.Extensions\Xunit.NetCore.Extensions.csproj" />
<ProjectReference Include="..\MSBuild.Bootstrap\MSBuild.Bootstrap.csproj">
<Private>false</Private>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="..\Shared\IsExternalInit.cs" />
</ItemGroup>
<Import Project="..\..\eng\BootStrapMsBuild.props" />
<PropertyGroup Condition="$(TargetFramework.StartsWith('net4'))">
<TestBootstrapBinaryDestination>$(BootstrapDestination)Current\Bin</TestBootstrapBinaryDestination>
</PropertyGroup>
<PropertyGroup Condition="!$(TargetFramework.StartsWith('net4'))">
<TestBootstrapBinaryDestination>$(ArtifactsBinDir)bootstrap\core</TestBootstrapBinaryDestination>
</PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="Microsoft.Build.UnitTests.Shared.BootstrapLocationAttribute">
<_Parameter1>$(TestBootstrapBinaryDestination)</_Parameter1>
<_Parameter2>$(BootstrapSdkVersion)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
</Project>
|