2019-08-22 21:28:51 +00:00
<Project Sdk= "Microsoft.NET.Sdk" >
<PropertyGroup >
2019-12-09 21:59:39 +00:00
<TargetFrameworks > net462;netcoreapp3.1</TargetFrameworks>
2019-08-22 21:28:51 +00:00
</PropertyGroup>
<ItemGroup >
2019-12-09 21:59:39 +00:00
<PackageReference Include= "Microsoft.NET.Test.Sdk" Version= "16.4.0" />
2019-10-28 21:30:08 +00:00
<PackageReference Include= "NUnit" Version= "3.12.0" />
<PackageReference Include= "NUnit3TestAdapter" Version= "3.15.1" />
<PackageReference Include= "NunitXml.TestLogger" Version= "2.1.41" />
<PackageReference Include= "System.Buffers" Version= "4.5.0" />
2019-09-12 01:39:23 +00:00
<PackageReference Include= "NBuilder" Version= "6.0.1" />
2019-12-09 21:59:39 +00:00
<PackageReference Include= "System.IO.Abstractions.TestingHelpers" Version= "7.0.15" />
2019-08-27 20:23:35 +00:00
<PackageReference Include= "AutoFixture" Version= "4.11.0" />
2019-08-22 21:28:51 +00:00
</ItemGroup>
2019-12-09 21:59:39 +00:00
<ItemGroup Condition= "'$(TargetFramework)' == 'netcoreapp3.1'" >
2019-10-28 21:30:08 +00:00
<PackageReference Include= "coverlet.collector" Version= "1.1.0" PrivateAssets= "all" />
</ItemGroup>
2019-08-22 21:28:51 +00:00
<ItemGroup >
<ProjectReference Include= "..\NzbDrone.Test.Common\Lidarr.Test.Common.csproj" />
<ProjectReference Include= "..\NzbDrone.Core\Lidarr.Core.csproj" />
</ItemGroup>
2019-10-28 21:30:09 +00:00
<ItemGroup >
<RuntimeFiles Include= "..\Runtimes\$(RuntimeIdentifier)\*" />
</ItemGroup>
2019-08-22 21:28:51 +00:00
<ItemGroup >
<Content Include= "..\..\Logo\1024.png" >
<Link > Files\1024.png</Link>
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</Content>
<None Update= "Files\**\*.*" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
2019-12-09 21:59:39 +00:00
<Target Name= "CopyRuntimeFilesOnBuild" AfterTargets= "AfterBuild" Condition= "!$(RuntimeIdentifier.StartsWith('linux')) or '$(TargetFramework)' == 'netcoreapp3.1'" >
2019-10-28 21:30:09 +00:00
<Copy SourceFiles= "@(RuntimeFiles)" DestinationFolder= "$(OutDir)" />
2019-10-17 20:42:49 +00:00
</Target>
2019-12-09 21:59:39 +00:00
<Target Name= "CopyRuntimeFilesOnPublish" AfterTargets= "Publish" Condition= "!$(RuntimeIdentifier.StartsWith('linux')) or '$(TargetFramework)' == 'netcoreapp3.1'" >
2019-10-28 21:30:09 +00:00
<Copy SourceFiles= "@(RuntimeFiles)" DestinationFolder= "$(PublishDir)" />
2019-10-17 20:42:49 +00:00
</Target>
2019-08-22 21:28:51 +00:00
</Project>