-
Notifications
You must be signed in to change notification settings - Fork 330
Expand file tree
/
Copy pathAbstractions.Test.csproj
More file actions
58 lines (49 loc) · 2.28 KB
/
Copy pathAbstractions.Test.csproj
File metadata and controls
58 lines (49 loc) · 2.28 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
56
57
58
<Project Sdk="Microsoft.NET.Sdk">
<!-- General Properties ============================================== -->
<PropertyGroup>
<AssemblyName>Microsoft.Data.SqlClient.Extensions.Abstractions.Test</AssemblyName>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<!--
The Abstractions project is not built for net462 unless it is built for Windows. Thus, we
will not be able to fulfill the Abstractions for net462 reference unless we are building on
Windows.
-->
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net462</TargetFrameworks>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<!-- Assembly signing ============================================= -->
<!-- When a test signing key is provided, sign the test assembly so IVT from signed source works. -->
<PropertyGroup Condition="'$(TestSigningKeyPath)' != ''">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(TestSigningKeyPath)</AssemblyOriginatorKeyFile>
</PropertyGroup>
<!-- Compiler Options ================================================ -->
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- Global Usings =================================================== -->
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
<!-- Embedded resources and content files ============================ -->
<ItemGroup>
<Content Include="$(RepoRoot)/src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>xunit.runner.json</TargetPath>
</Content>
</ItemGroup>
<!-- References ====================================================== -->
<!-- Test Target Reference -->
<ItemGroup>
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj" />
</ItemGroup>
<!-- Other References -->
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio" />
<PackageReference Include="xunit.runner.console" />
</ItemGroup>
</Project>