Repository navigation
Expand file tree
/
Copy pathMicrosoft.Data.SqlClient.FunctionalTests.csproj
More file actions
99 lines (89 loc) · 5.99 KB
/
Copy pathMicrosoft.Data.SqlClient.FunctionalTests.csproj
File metadata and controls
99 lines (89 loc) · 5.99 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- @TODO: Use full assembly name here -->
<AssemblyName>FunctionalTests</AssemblyName>
<RootNamespace>Microsoft.Data.SqlClient.FunctionalTests</RootNamespace>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<!-- Target Frameworks =============================================== -->
<PropertyGroup>
<TargetFrameworks>net462;net10.0</TargetFrameworks>
</PropertyGroup>
<!-- Links to internal project files ================================= -->
<ItemGroup>
<!-- @TODO: These should be removed -->
<!-- FunctionalTests is not a friend assembly, so these tests compile linked internal sources. -->
<!-- UnitTests and ManualTests use InternalsVisibleTo; that grant does not apply here. -->
<!-- Prefer moving internal-only coverage to UnitTests rather than adding source links. -->
<Compile Include="$(RepoRoot)src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/Parser/Packet.cs" />
<Compile Include="$(RepoRoot)src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/Parser/TdsParserStateObject.Multiplexer.cs" />
</ItemGroup>
<!-- Embedded resources and content files =========================== -->
<ItemGroup>
<!-- This file applies runtime configuration to .NET Framework that is used by the tests. -->
<None Update="app.config" Condition="'$(TargetFramework)' == 'net462'">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>xunit.runner.json</Link>
</None>
</ItemGroup>
<!-- References ====================================================== -->
<!-- Test target reference -->
<ItemGroup>
<!-- If the tests are compiled/running in "Package" mode, the reference to MDS will be to the -->
<!-- nuget package. This enables ensuring the tests run successfully against a fully-packaged -->
<!-- version of MDS. Package mode is specified by setting the build parameter ReferenceType -->
<!-- to "Package". If this is not specified, the build will revert to default behavior of -->
<!-- referencing MDS via the project. -->
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/src/Microsoft.Data.SqlClient.csproj"
Condition="'$(ReferenceType)' == 'Project'" />
<PackageReference Include="Microsoft.Data.SqlClient"
Condition="'$(ReferenceType)' == 'Package'" />
</ItemGroup>
<!-- References for netframework -->
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<Reference Include="System.Transactions" />
<PackageReference Include="Azure.Core" />
<PackageReference Include="Microsoft.Bcl.Cryptography" />
<PackageReference Include="Microsoft.DotNet.XUnitExtensions" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.SqlServer.Types" />
<PackageReference Include="System.Buffers" />
<PackageReference Include="System.Configuration.ConfigurationManager" />
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" />
<PackageReference Include="System.Security.Cryptography.Pkcs" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.console" ExcludeAssets="compile" />
<PackageReference Include="xunit.runner.visualstudio" ExcludeAssets="compile" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/Common/Microsoft.Data.SqlClient.TestCommon.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/TestUdts/Address/Address.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/Microsoft.Data.SqlClient.TestUtilities.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS/TDS.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.EndPoint/TDS.EndPoint.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/TDS.Servers.csproj" />
</ItemGroup>
<!-- References for netcore -->
<ItemGroup Condition="'$(TargetFramework)' != 'net462'">
<PackageReference Include="Azure.Core" />
<PackageReference Include="Microsoft.Bcl.Cryptography" />
<PackageReference Include="Microsoft.DotNet.XUnitExtensions" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.SqlServer.Types" />
<PackageReference Include="System.Configuration.ConfigurationManager" />
<PackageReference Include="System.Data.Odbc" />
<PackageReference Include="System.Security.Cryptography.Pkcs" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.console" ExcludeAssets="compile" />
<PackageReference Include="xunit.runner.visualstudio" ExcludeAssets="compile" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/Common/Microsoft.Data.SqlClient.TestCommon.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/TestUdts/Address/Address.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/Microsoft.Data.SqlClient.TestUtilities.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS/TDS.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.EndPoint/TDS.EndPoint.csproj" />
<ProjectReference Include="$(RepoRoot)src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/TDS.Servers.csproj" />
</ItemGroup>
</Project>