Skip to content

Common Project | Unit Tests#3870

Merged
benrr101 merged 9 commits into
mainfrom
dev/russellben/common/unit-tests
Jan 13, 2026
Merged

Common Project | Unit Tests#3870
benrr101 merged 9 commits into
mainfrom
dev/russellben/common/unit-tests

Remove unit test project from restore targets

6caf937
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net8_0_AnyCPU_NativeSNI_2) failed Jan 9, 2026 in 7m 27s

Win22_Sql19_x86 net8_0_AnyCPU_NativeSNI_2 failed

Annotations

Check failure on line 10 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net8_0_AnyCPU_NativeSNI_2)

Build log #L10

Path does not exist: D:\a\_work\1\s\TestResults

Check failure on line 166 in C:\x86\sdk\8.0.416\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net8_0_AnyCPU_NativeSNI_2)

C:\x86\sdk\8.0.416\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets#L166

C:\x86\sdk\8.0.416\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(166,5): Error NETSDK1045: The current .NET SDK does not support targeting .NET 9.0.  Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download [D:\a\_work\1\s\src\Microsoft.Data.SqlClient\src\Microsoft.Data.SqlClient.csproj::TargetFramework=net9.0]

Check failure on line 166 in C:\x86\sdk\8.0.416\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net8_0_AnyCPU_NativeSNI_2)

C:\x86\sdk\8.0.416\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets#L166

C:\x86\sdk\8.0.416\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(166,5): Error NETSDK1045: The current .NET SDK does not support targeting .NET 9.0.  Either target .NET 8.0 or lower, or use a version of the .NET SDK that supports .NET 9.0. Download the .NET SDK from https://aka.ms/dotnet/download [D:\a\_work\1\s\src\Microsoft.Data.SqlClient\src\Microsoft.Data.SqlClient.csproj::TargetFramework=net9.0]

Check failure on line 232 in build.proj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net8_0_AnyCPU_NativeSNI_2)

build.proj#L232

build.proj(232,5): Error MSB3073: The command "         C:\x86\dotnet test "src\Microsoft.Data.SqlClient\tests\UnitTests\Microsoft.Data.SqlClient.UnitTests.csproj"         -v n         -p:Configuration=Debug         -p:TargetnetcoreVersion=net8.0         -p:TestTargetOS=Windowsnetcoreapp         --collect "Code coverage"         --results-directory TestResults         --filter "category!=failing&category!=flaky"         --logger:"trx;LogFilePrefix=Unit-Windowsnetcoreapp-1,2,3"       " exited with code 1.

Check failure on line 60 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Project (Win22_Sql19_x86 net8_0_AnyCPU_NativeSNI_2)

Build log #L60

Process 'msbuild.exe' exited with code '1'.