-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathUnitTestEx.Xunit.Test.csproj
More file actions
55 lines (47 loc) · 2.25 KB
/
UnitTestEx.Xunit.Test.csproj
File metadata and controls
55 lines (47 loc) · 2.25 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<None Remove="appsettings.unittest.json" />
<None Remove="Resources\FunctionTest-ValidJsonResource.json" />
<None Remove="Resources\MockHttpClientTest-UriAndBody_WithJsonResponse3.json" />
</ItemGroup>
<ItemGroup>
<Content Include="appsettings.unittest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\FunctionTest-ValidJsonResource.json" />
<EmbeddedResource Include="Resources\MockHttpClientTest-UriAndBody_WithJsonResponse3.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Xunit.SkippableFact" Version="1.4.13" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\UnitTestEx.Azure.Functions\UnitTestEx.Azure.Functions.csproj" />
<ProjectReference Include="..\..\src\UnitTestEx.Azure.ServiceBus\UnitTestEx.Azure.ServiceBus.csproj" />
<ProjectReference Include="..\..\src\UnitTestEx.Xunit\UnitTestEx.Xunit.csproj" />
<ProjectReference Include="..\..\src\UnitTestEx\UnitTestEx.csproj" />
<ProjectReference Include="..\UnitTestEx.Api\UnitTestEx.Api.csproj" />
<ProjectReference Include="..\UnitTestEx.Function\UnitTestEx.Function.csproj" />
</ItemGroup>
<Target Name="CopyDepsJsonFiles" AfterTargets="Publish">
<ItemGroup>
<DepsJsonFiles Include="$(TargetDir)*.deps.json" />
</ItemGroup>
<Copy SourceFiles="@(DepsJsonFiles)" DestinationFolder="$(PublishDir)" />
</Target>
</Project>