File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ pushd .\tests\SideBySide
28
28
29
29
echo " Executing tests with No Compression, No SSL"
30
30
Copy-Item - Force ..\..\.ci\config\config.json config.json
31
- dotnet test - c Release -f net452
31
+ dotnet test - c Release -f net462
32
32
if ($LASTEXITCODE -ne 0 ){
33
33
exit $LASTEXITCODE ;
34
34
}
35
- dotnet test - c Release -f net461
35
+ dotnet test - c Release -f net7. 0
36
36
if ($LASTEXITCODE -ne 0 ){
37
37
exit $LASTEXITCODE ;
38
38
}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public void CreateDataAdapter()
46
46
[ Fact ]
47
47
public void DbProviderFactoriesGetFactory ( )
48
48
{
49
- #if ! NET461 && ! NET472
49
+ #if ! NET462 && ! NET472
50
50
DbProviderFactories . RegisterFactory ( "MySqlConnector" , MySqlConnectorFactory . Instance ) ;
51
51
#endif
52
52
#if BASELINE
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup Condition =" '$(Configuration)' != 'Baseline' " >
4
- <TargetFrameworks >net461 ;net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks >
4
+ <TargetFrameworks >net462 ;net472;netcoreapp3.1;net6.0;net7.0</TargetFrameworks >
5
5
<CheckEolTargetFramework >false</CheckEolTargetFramework >
6
6
</PropertyGroup >
7
7
29
29
<ItemGroup >
30
30
<!-- testing packages-->
31
31
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.3.0" />
32
- <PackageReference Include =" xunit" Version =" 2.4.1 " />
33
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3 " />
32
+ <PackageReference Include =" xunit" Version =" 2.4.2 " />
33
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5 " />
34
34
<!-- app packages-->
35
35
<PackageReference Include =" Dapper.StrongName" Version =" 1.60.1" />
36
36
<PackageReference Include =" Microsoft.Extensions.Configuration.Binder" Version =" 1.1.2" />
56
56
<Using Include =" MySql.Data.MySqlClient" />
57
57
</ItemGroup >
58
58
59
- <ItemGroup Condition =" '$(TargetFramework)' == 'net461 ' OR '$(TargetFramework)' == 'net472' " >
59
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462 ' OR '$(TargetFramework)' == 'net472' " >
60
60
<Reference Include =" System" />
61
61
<Reference Include =" System.Transactions" />
62
62
<Reference Include =" Microsoft.CSharp" />
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ public async Task ConnectSslTlsVersion()
226
226
expectedProtocol == SslProtocols . Tls11 ? "TLSv1.1" : "TLSv1" ;
227
227
#pragma warning restore SYSLIB0039 // SslProtocols.Tls11 is obsolete
228
228
229
- #if ! NET461 && ! NET472
229
+ #if ! NET462 && ! NET472
230
230
// https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#tls-13--openssl-111-on-linux
231
231
if ( expectedProtocol == SslProtocols . Tls12 && AppConfig . SupportedFeatures . HasFlag ( ServerFeatures . Tls13 ) && RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) )
232
232
{
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ public async Task ReadWriteTransactionAsync()
169
169
Assert . Equal ( new [ ] { 1 , 2 } , results ) ;
170
170
}
171
171
172
- #if ! NET461 && ! NET472
172
+ #if ! NET462 && ! NET472
173
173
[ Fact ]
174
174
public async Task DbConnectionCommitAsync ( )
175
175
{
@@ -241,7 +241,7 @@ public async Task RollbackDisposeAsync()
241
241
Assert . Equal ( new int [ 0 ] , results ) ;
242
242
}
243
243
244
- #if ! NET461 && ! NET472
244
+ #if ! NET462 && ! NET472
245
245
[ Fact ]
246
246
public async Task DbConnectionRollbackAsync ( )
247
247
{
You can’t perform that action at this time.
0 commit comments