build: Fix for test packages not being assigned to TestLibrary.csproj

pull/151/head
Robert Dailey 2 years ago
parent e5a0302c13
commit 969499bf5a

@ -37,7 +37,7 @@
<PackageReference Include="GitVersion.MsBuild" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="$(ProjectName.EndsWith('.Tests')) Or $(ProjectName.EndsWith('.TestLibrary'))">
<ItemGroup Condition="$(ProjectName.EndsWith('.Tests')) Or $(ProjectName.EndsWith('TestLibrary'))">
<PackageReference Include="AutofacContrib.NSubstitute" PrivateAssets="All" />
<PackageReference Include="AutoFixture" PrivateAssets="All" />
<PackageReference Include="AutoFixture.AutoNSubstitute" PrivateAssets="All" />

@ -1,17 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoFixture" />
<PackageReference Include="AutoFixture.AutoNSubstitute" />
<PackageReference Include="AutoFixture.NUnit3" />
<PackageReference Include="FluentAssertions" />
<PackageReference Include="FluentAssertions.Json" />
<PackageReference Include="NSubstitute" />
<PackageReference Include="NUnit" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" />
<PackageReference Include="TestableIO.System.IO.Abstractions.Extensions" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Common\Common.csproj" />
</ItemGroup>

Loading…
Cancel
Save