diff --git a/playground/TestPlatform.Playground/TestPlatform.Playground.csproj b/playground/TestPlatform.Playground/TestPlatform.Playground.csproj
index 2814dca8ca..3d620e060c 100644
--- a/playground/TestPlatform.Playground/TestPlatform.Playground.csproj
+++ b/playground/TestPlatform.Playground/TestPlatform.Playground.csproj
@@ -36,7 +36,7 @@
-
+
diff --git a/samples/Microsoft.TestPlatform.E2ETest/Microsoft.TestPlatform.E2ETest.csproj b/samples/Microsoft.TestPlatform.E2ETest/Microsoft.TestPlatform.E2ETest.csproj
index 0152be5498..ecc29fbadf 100644
--- a/samples/Microsoft.TestPlatform.E2ETest/Microsoft.TestPlatform.E2ETest.csproj
+++ b/samples/Microsoft.TestPlatform.E2ETest/Microsoft.TestPlatform.E2ETest.csproj
@@ -6,7 +6,7 @@
15.0.0
- net451
+ net462
Microsoft.TestPlatform.E2ETest
Exe
win7-x64
@@ -19,7 +19,7 @@
PreserveNewest
-
+
diff --git a/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Microsoft.TestPlatform.TranslationLayer.E2ETest.csproj b/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Microsoft.TestPlatform.TranslationLayer.E2ETest.csproj
index 356b39a61c..3e4941ffc2 100644
--- a/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Microsoft.TestPlatform.TranslationLayer.E2ETest.csproj
+++ b/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Microsoft.TestPlatform.TranslationLayer.E2ETest.csproj
@@ -1,7 +1,7 @@
- net451
+ net462
Microsoft.TestPlatform.TranslationLayer.E2ETest
Exe
win7-x64
@@ -14,7 +14,7 @@
PreserveNewest
-
+
diff --git a/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Properties/launchSettings.json b/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Properties/launchSettings.json
index 228592a185..09dce23302 100644
--- a/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Properties/launchSettings.json
+++ b/samples/Microsoft.TestPlatform.TranslationLayer.E2ETest/Properties/launchSettings.json
@@ -2,7 +2,7 @@
"profiles": {
"Microsoft.TestPlatform.TranslationLayer.E2ETest": {
"commandName": "Project",
- "commandLineArgs": "--runner:\"bin\\Debug\\net451\\win7-x64\\vstest.console.exe\" --testadapterpath:\"bin\\Debug\\net451\\win7-x64\\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll\" --testassembly:\"bin\\Debug\\net451\\win7-x64\\UnitTestProject.dll\""
+ "commandLineArgs": "--runner:\"bin\\Debug\\net462\\win7-x64\\vstest.console.exe\" --testadapterpath:\"bin\\Debug\\net462\\win7-x64\\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll\" --testassembly:\"bin\\Debug\\net462\\win7-x64\\UnitTestProject.dll\""
}
}
-}
\ No newline at end of file
+}
diff --git a/samples/UnitTestProject/UnitTestProject.csproj b/samples/UnitTestProject/UnitTestProject.csproj
index fc06eb77ff..b4c0478330 100644
--- a/samples/UnitTestProject/UnitTestProject.csproj
+++ b/samples/UnitTestProject/UnitTestProject.csproj
@@ -2,9 +2,9 @@
- netcoreapp1.0;net451
+ netcoreapp1.0;net462
netcoreapp3.1
- Exe
+ Exe
UnitTestProject
false
false
@@ -20,7 +20,7 @@
-
+
diff --git a/scripts/build.ps1 b/scripts/build.ps1
index c2a4fee981..c9e9cce891 100644
--- a/scripts/build.ps1
+++ b/scripts/build.ps1
@@ -79,8 +79,7 @@ $TPB_TestAssets = Join-Path $env:TP_ROOT_DIR "test\TestAssets\"
$TPB_Solution = Join-Path $env:TP_ROOT_DIR "TestPlatform.sln"
$TPB_TestAssets_Solution = Join-Path $TPB_TestAssets "TestAssets.sln"
$TPB_TestAssets_CILAssets = Join-Path $TPB_TestAssets "CILProject\CILProject.proj"
-$TPB_TargetFramework45 = "net45"
-$TPB_TargetFramework451 = "net451"
+$TPB_TargetFramework462 = "net462"
$TPB_TargetFramework472 = "net472"
$TPB_TargetFramework48 = "net48"
$TPB_TargetFrameworkCore10 = "netcoreapp1.0"
@@ -176,22 +175,22 @@ function Invoke-TestAssetsBuild {
$vstestConsoleVersionProperties = @(
"VSTestConsoleLatestVersion"
"VSTestConsoleLatestPreviewVersion"
- "VSTestConsoleLatestStableVersion"
- "VSTestConsoleRecentStableVersion"
+ "VSTestConsoleLatestStableVersion"
+ "VSTestConsoleRecentStableVersion"
"VSTestConsoleMostDownloadedVersion"
"VSTestConsolePreviousStableVersion"
"VSTestConsoleLegacyStableVersion"
)
foreach ($propertyName in $vstestConsoleVersionProperties) {
- if ("VSTestConsoleLatestVersion" -eq $propertyName) {
+ if ("VSTestConsoleLatestVersion" -eq $propertyName) {
# NETTestSdkVersion has the version of the locally built package.
$vsTestConsoleVersion = $dependenciesXml.Project.PropertyGroup."NETTestSdkVersion"
}
- else {
+ else {
$vsTestConsoleVersion = $dependenciesXml.Project.PropertyGroup.$propertyName
}
-
+
# The command line tool does not like the package ranges.
$vsTestConsoleVersion = $vsTestConsoleVersion -replace "(\[|\])"
if (-not $vsTestConsoleVersion) {
@@ -220,40 +219,40 @@ function Invoke-TestAssetsBuild {
"MSTestFrameworkPreviousStableVersion"
"MSTestFrameworkLegacyStableVersion"
)
-
+
foreach ($project in $projects) {
# We use the same version properties for NET.Test.Sdk as for VSTestConsole, for now.
foreach ($sdkPropertyName in $vstestConsoleVersionProperties) {
- if ("VSTestConsoleLatestVersion" -eq $sdkPropertyName) {
+ if ("VSTestConsoleLatestVersion" -eq $sdkPropertyName) {
# NETTestSdkVersion has the version of the locally built package.
$netTestSdkVersion = $dependenciesXml.Project.PropertyGroup."NETTestSdkVersion"
}
- else {
+ else {
$netTestSdkVersion = $dependenciesXml.Project.PropertyGroup.$sdkPropertyName
}
-
+
if (-not $netTestSdkVersion) {
throw "NetTestSdkVersion for $sdkPropertyName is empty."
}
-
- $dirNetTestSdkVersion = $netTestSdkVersion -replace "\[|\]"
+
+ $dirNetTestSdkVersion = $netTestSdkVersion -replace "\[|\]"
$dirNetTestSdkPropertyName = $sdkPropertyName -replace "Framework" -replace "Version" -replace "VSTestConsole", "NETTestSdk"
-
- foreach ($propertyName in $msTestVersionProperties) {
+
+ foreach ($propertyName in $msTestVersionProperties) {
$mstestVersion = $dependenciesXml.Project.PropertyGroup.$propertyName
if (-not $mstestVersion) {
throw "MSTestVersion for $propertyName is empty."
}
-
- $dirMSTestVersion = $mstestVersion -replace "\[|\]"
+
+ $dirMSTestVersion = $mstestVersion -replace "\[|\]"
$dirMSTestPropertyName = $propertyName -replace "Framework" -replace "Version"
Invoke-Exe $dotnetExe -Arguments "build $project --configuration $TPB_Configuration -v:minimal -p:CIBuild=$TPB_CIBuild -p:LocalizedBuild=$TPB_LocalizedBuild -p:MSTestFrameworkVersion=$mstestVersion -p:MSTestAdapterVersion=$mstestVersion -p:NETTestSdkVersion=$netTestSdkVersion -p:BaseOutputPath=""bin\$dirNetTestSdkPropertyName-$dirNetTestSdkVersion\$dirMSTestPropertyName-$dirMSTestVersion\\"" -bl:""$env:TP_OUT_DIR\log\$Configuration\perm.binlog"""
}
}
}
- # end
+ # end
}
finally {
Write-Log ".. .. Build: Source: $TPB_TestAssets_Solution -- remove NuGet source"
@@ -295,10 +294,8 @@ function Publish-PatchedDotnet {
function Publish-Package {
$timer = Start-Timer
Write-Log "Publish-Package: Started."
- $fullCLRPackage451Dir = Get-FullCLRPackageDirectory
- $fullCLRPackage45Dir = Get-FullCLRPackageDirectory45
+ $net462PackageDir = Get-FullCLR462PackageDirectory
$uap100PackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$TPB_TargetFrameworkUap100");
- $net45PackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\net45");
$netstandard10PackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$TPB_TargetFrameworkNS10");
$netstandard13PackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$TPB_TargetFrameworkNS13");
$netstandard20PackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$TPB_TargetFrameworkNS20");
@@ -310,7 +307,7 @@ function Publish-Package {
$testHostx86Project = Join-Path $env:TP_ROOT_DIR "src\testhost.x86\testhost.x86.csproj"
$testHostarm64Project = Join-Path $env:TP_ROOT_DIR "src\testhost.arm64\testhost.arm64.csproj"
- $testhostFullPackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\Microsoft.TestPlatform.TestHost\$TPB_TargetFramework451\$TPB_TargetRuntime")
+ $testhostFullPackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\Microsoft.TestPlatform.TestHost\$TPB_TargetFramework462\$TPB_TargetRuntime")
$testhostCore20PackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\Microsoft.TestPlatform.TestHost\$TPB_TargetFrameworkCore20")
$testhostCore20PackageX64Dir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\Microsoft.TestPlatform.TestHost\$TPB_TargetFrameworkCore20\$TPB_X64_Runtime")
$testhostCore20PackageX86Dir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\Microsoft.TestPlatform.TestHost\$TPB_TargetFrameworkCore20\$TPB_X86_Runtime")
@@ -333,7 +330,7 @@ function Publish-Package {
$dataCollectorProject = Join-Path $env:TP_ROOT_DIR "src\datacollector\datacollector.csproj"
Write-Log "Package: Publish src\package\package\package.csproj"
- Publish-PackageInternal $packageProject $TPB_TargetFramework451 $fullCLRPackage451Dir
+ Publish-PackageInternal $packageProject $TPB_TargetFramework462 $net462PackageDir
Publish-PackageInternal $packageProject $TPB_TargetFrameworkCore20 $coreCLR20PackageDir
@@ -342,23 +339,23 @@ function Publish-Package {
Write-Log "Package: Publish src\vstest.console\vstest.console.csproj"
# We build vstest.console.arm64.exe before building vstest.console.exe and we put it in the same folder, so they end up shipping together.
- Publish-PackageWithRuntimeInternal $vstestConsoleProject $TPB_TargetFramework451 $TPB_ARM64_Runtime false $fullCLRPackage451Dir
- Publish-PackageWithRuntimeInternal $vstestConsoleProject $TPB_TargetFramework451 $TPB_X64_Runtime false $fullCLRPackage451Dir
+ Publish-PackageWithRuntimeInternal $vstestConsoleProject $TPB_TargetFramework462 $TPB_ARM64_Runtime false $net462PackageDir
+ Publish-PackageWithRuntimeInternal $vstestConsoleProject $TPB_TargetFramework462 $TPB_X64_Runtime false $net462PackageDir
Publish-PackageInternal $vstestConsoleProject $TPB_TargetFrameworkCore20 $coreCLR20PackageDir
Write-Log "Package: Publish src\SettingsMigrator\SettingsMigrator.csproj"
- Publish-PackageInternal $settingsMigratorProject $TPB_TargetFramework451 $fullCLRPackage451Dir
+ Publish-PackageInternal $settingsMigratorProject $TPB_TargetFramework462 $net462PackageDir
Write-Log "Package: Publish src\datacollector\datacollector.csproj"
# We build datacollector.arm64.exe before building datacollector.exe and we put it in the same folder, so they end up shipping together.
- Publish-PackageWithRuntimeInternal $dataCollectorProject $TPB_TargetFramework472 $TPB_ARM64_Runtime false $fullCLRPackage451Dir
- Publish-PackageWithRuntimeInternal $dataCollectorProject $TPB_TargetFramework472 $TPB_X64_Runtime false $fullCLRPackage451Dir
+ Publish-PackageWithRuntimeInternal $dataCollectorProject $TPB_TargetFramework472 $TPB_ARM64_Runtime false $net462PackageDir
+ Publish-PackageWithRuntimeInternal $dataCollectorProject $TPB_TargetFramework472 $TPB_X64_Runtime false $net462PackageDir
Publish-PackageInternal $dataCollectorProject $TPB_TargetFrameworkCore20 $coreCLR20PackageDir
################################################################################
# Publish testhost
Write-Log "Package: Publish testhost\testhost.csproj"
- Publish-PackageInternal $testHostProject $TPB_TargetFramework451 $testhostFullPackageDir
+ Publish-PackageInternal $testHostProject $TPB_TargetFramework462 $testhostFullPackageDir
Publish-PackageInternal $testHostProject $TPB_TargetFrameworkCore20 $testhostCore20PackageDir
Publish-PackageInternal $testHostProject $TPB_TargetFrameworkCore10 $testhostCore10PackageDir
Publish-PackageInternal $testHostProject $TPB_TargetFrameworkCore20 $testhostUapPackageDir
@@ -366,34 +363,29 @@ function Publish-Package {
Publish-PackageWithRuntimeInternal $testHostProject $TPB_TargetFrameworkCore10 $TPB_X64_Runtime true $testhostCore10PackageTempX64Dir
Write-Log "Package: Publish testhost.x86\testhost.x86.csproj"
- Publish-PackageInternal $testHostx86Project $TPB_TargetFramework451 $testhostFullPackageDir
+ Publish-PackageInternal $testHostx86Project $TPB_TargetFramework462 $testhostFullPackageDir
Publish-PackageWithRuntimeInternal $testHostx86Project $TPB_TargetFrameworkCore20 $TPB_X86_Runtime false $testhostCore20PackageTempX86Dir
Publish-PackageWithRuntimeInternal $testHostx86Project $TPB_TargetFrameworkCore10 $TPB_X86_Runtime true $testhostCore10PackageTempX86Dir
Write-Log "Package: Publish testhost.arm64\testhost.arm64.csproj"
- Publish-PackageInternal $testHostarm64Project $TPB_TargetFramework451 $testhostFullPackageDir
+ Publish-PackageInternal $testHostarm64Project $TPB_TargetFramework462 $testhostFullPackageDir
Publish-PackageWithRuntimeInternal $testHostarm64Project $TPB_TargetFrameworkCore20 $TPB_ARM64_Runtime false $testhostCore20PackageTempARM64Dir
Publish-PackageWithRuntimeInternal $testHostarm64Project $TPB_TargetFrameworkCore10 $TPB_ARM64_Runtime true $testhostCore10PackageTempARM64Dir
- # Copy the .NET multitarget testhost exes to destination folder (except for net451 which is the default)
- foreach ($tfm in "net452;net46;net461;net462;net47;net471;net472;net48" -split ";") {
+ # Copy the .NET multitarget testhost exes to destination folder (except for net462 which is the default)
+ foreach ($tfm in "net47;net471;net472;net48" -split ";") {
+ # testhost
Copy-Item "$(Split-Path $testHostProject)\bin\$TPB_Configuration\$tfm\$TPB_X64_Runtime\testhost.$tfm.exe" $testhostFullPackageDir\testhost.$tfm.exe -Force
Copy-Item "$(Split-Path $testHostProject)\bin\$TPB_Configuration\$tfm\$TPB_X64_Runtime\testhost.$tfm.pdb" $testhostFullPackageDir\testhost.$tfm.pdb -Force
Copy-Item "$(Split-Path $testHostProject)\bin\$TPB_Configuration\$tfm\$TPB_X64_Runtime\testhost.$tfm.exe.config" $testhostFullPackageDir\testhost.$tfm.exe.config -Force
- }
-
- # Copy the .NET multitarget testhost.x86 exes to destination folder (except for net451 which is the default)
- foreach ($tfm in "net452;net46;net461;net462;net47;net471;net472;net48" -split ";") {
+ # testhost.x86
Copy-Item "$(Split-Path $testHostx86Project)\bin\$TPB_Configuration\$tfm\$TPB_X86_Runtime\testhost.$tfm.x86.exe" $testhostFullPackageDir\testhost.$tfm.x86.exe -Force
Copy-Item "$(Split-Path $testHostx86Project)\bin\$TPB_Configuration\$tfm\$TPB_X86_Runtime\testhost.$tfm.x86.pdb" $testhostFullPackageDir\testhost.$tfm.x86.pdb -Force
Copy-Item "$(Split-Path $testHostx86Project)\bin\$TPB_Configuration\$tfm\$TPB_X86_Runtime\testhost.$tfm.x86.exe.config" $testhostFullPackageDir\testhost.$tfm.x86.exe.config -Force
- }
-
- # Copy the .NET multitarget testhost.arm64 exes to destination folder (except for net451 which is the default)
- foreach ($tfm in "net452;net46;net461;net462;net47;net471;net472;net48" -split ";") {
- Copy-Item "$(Split-Path $testHostarm64Project)\bin\$TPB_Configuration\$tfm\$TPB_ARM64_Runtime\testhost.$tfm.arm64.exe" $testhostFullPackageDir\testhost.$tfm.arm64.exe -Force
- Copy-Item "$(Split-Path $testHostarm64Project)\bin\$TPB_Configuration\$tfm\$TPB_ARM64_Runtime\testhost.$tfm.arm64.pdb" $testhostFullPackageDir\testhost.$tfm.arm64.pdb -Force
- Copy-Item "$(Split-Path $testHostarm64Project)\bin\$TPB_Configuration\$tfm\$TPB_ARM64_Runtime\testhost.$tfm.arm64.exe.config" $testhostFullPackageDir\testhost.$tfm.arm64.exe.config -Force
+ # testhost.arm64
+ Copy-Item "$(Split-Path $testHostarm64Project)\bin\$TPB_Configuration\$tfm\$TPB_ARM64_Runtime\testhost.$tfm.arm64.exe" $testhostFullPackageDir\testhost.$tfm.arm64.exe -Force
+ Copy-Item "$(Split-Path $testHostarm64Project)\bin\$TPB_Configuration\$tfm\$TPB_ARM64_Runtime\testhost.$tfm.arm64.pdb" $testhostFullPackageDir\testhost.$tfm.arm64.pdb -Force
+ Copy-Item "$(Split-Path $testHostarm64Project)\bin\$TPB_Configuration\$tfm\$TPB_ARM64_Runtime\testhost.$tfm.arm64.exe.config" $testhostFullPackageDir\testhost.$tfm.arm64.exe.config -Force
}
# Copy the .NET core x86, x64 and arm64 testhost exes from tempPublish to required folder
@@ -430,9 +422,9 @@ function Publish-Package {
# Copy over the Full CLR built datacollector package assemblies to the Core CLR package folder along with testhost
Publish-PackageWithRuntimeInternal $dataCollectorProject $TPB_TargetFramework472 $TPB_ARM64_Runtime false $fullDestDir
Publish-PackageWithRuntimeInternal $dataCollectorProject $TPB_TargetFramework472 $TPB_X64_Runtime false $fullDestDir
-
- New-Item -ItemType directory -Path $fullCLRPackage451Dir -Force | Out-Null
- Copy-Item $testhostFullPackageDir\* $fullCLRPackage451Dir -Force -Recurse
+
+ New-Item -ItemType directory -Path $net462PackageDir -Force | Out-Null
+ Copy-Item $testhostFullPackageDir\* $net462PackageDir -Force -Recurse
################################################################################
# Publish Microsoft.TestPlatform.ObjectModel
@@ -442,8 +434,7 @@ function Publish-Package {
Copy-Bulk -root (Join-Path $env:TP_ROOT_DIR "src\Microsoft.TestPlatform.ObjectModel\bin\$TPB_Configuration") `
-files @{
- $TPB_TargetFramework45 = $fullCLRPackage45Dir # net45
- $TPB_TargetFramework451 = $fullCLRPackage451Dir # net451
+ $TPB_TargetFramework462 = $net462PackageDir # net462
$TPB_TargetFrameworkCore10 = $coreCLR10PackageDir # netcoreapp1.0
$TPB_TargetFrameworkCore20 = $coreCLR20PackageDir # netcoreapp2.1
$TPB_TargetFrameworkNS10 = $netstandard10PackageDir # netstandard1_0
@@ -461,8 +452,7 @@ function Publish-Package {
# Publish Microsoft.TestPlatform.PlatformAbstractions
Copy-Bulk -root (Join-Path $env:TP_ROOT_DIR "src\Microsoft.TestPlatform.PlatformAbstractions\bin\$TPB_Configuration") `
-files @{
- $TPB_TargetFramework45 = $fullCLRPackage45Dir # net45
- $TPB_TargetFramework451 = $fullCLRPackage451Dir # net451
+ $TPB_TargetFramework462 = $net462PackageDir # net462
$TPB_TargetFrameworkCore20 = $coreCLR20PackageDir # netcoreapp2.1
$TPB_TargetFrameworkNS10 = $netstandard10PackageDir # netstandard1_0
$TPB_TargetFrameworkNS13 = $netstandard13PackageDir # netstandard1_3
@@ -478,8 +468,7 @@ function Publish-Package {
# Publish Microsoft.TestPlatform.CoreUtilities
Copy-Bulk -root (Join-Path $env:TP_ROOT_DIR "src\Microsoft.TestPlatform.CoreUtilities\bin\$TPB_Configuration") `
-files @{
- $TPB_TargetFramework45 = $fullCLRPackage45Dir # net45
- $TPB_TargetFramework451 = $fullCLRPackage451Dir # net451
+ $TPB_TargetFramework462 = $net462PackageDir # net462
$TPB_TargetFrameworkNS10 = $netstandard10PackageDir # netstandard1_0
$TPB_TargetFrameworkNS13 = $netstandard13PackageDir # netstandard1_3
$TPB_TargetFrameworkNS20 = $netstandard20PackageDir # netstandard2_0
@@ -495,11 +484,10 @@ function Publish-Package {
# Publish Microsoft.TestPlatform.AdapterUtilities
Copy-Bulk -root (Join-Path $env:TP_ROOT_DIR "src\Microsoft.TestPlatform.AdapterUtilities\bin\$TPB_Configuration") `
-files @{
- # "net20" = $net20PackageDir # net20
- "net45/any" = $net45PackageDir # $net4
- $TPB_TargetFrameworkNS10 = $netstandard10PackageDir # netstandard1_0
- $TPB_TargetFrameworkNS20 = $netstandard20PackageDir # netstandard2_0
- $TPB_TargetFrameworkUap100 = $uap100PackageDir # uap10.0
+ "$TPB_TargetFramework462/any" = $net462PackageDir # net462
+ $TPB_TargetFrameworkNS10 = $netstandard10PackageDir # netstandard1_0
+ $TPB_TargetFrameworkNS20 = $netstandard20PackageDir # netstandard2_0
+ $TPB_TargetFrameworkUap100 = $uap100PackageDir # uap10.0
}
################################################################################
@@ -521,7 +509,7 @@ function Publish-Package {
# Copy over the logger assemblies to the Extensions folder.
$extensions_Dir = "Extensions"
- $fullCLRExtensionsDir = Join-Path $fullCLRPackage451Dir $extensions_Dir
+ $fullCLRExtensionsDir = Join-Path $net462PackageDir $extensions_Dir
$coreCLRExtensionsDir = Join-Path $coreCLR20PackageDir $extensions_Dir
# Create an extensions directory.
@@ -536,8 +524,8 @@ function Publish-Package {
)
foreach ($file in $loggers) {
- Write-Verbose "Move-Item $fullCLRPackage451Dir\$file $fullCLRExtensionsDir -Force"
- Move-Item $fullCLRPackage451Dir\$file $fullCLRExtensionsDir -Force
+ Write-Verbose "Move-Item $net462PackageDir\$file $fullCLRExtensionsDir -Force"
+ Move-Item $net462PackageDir\$file $fullCLRExtensionsDir -Force
Write-Verbose "Move-Item $coreCLR20PackageDir\$file $coreCLRExtensionsDir -Force"
Move-Item $coreCLR20PackageDir\$file $coreCLRExtensionsDir -Force
@@ -545,9 +533,9 @@ function Publish-Package {
# Move logger resource dlls
if ($TPB_LocalizedBuild) {
- Move-Loc-Files $fullCLRPackage451Dir $fullCLRExtensionsDir "Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.resources.dll"
+ Move-Loc-Files $net462PackageDir $fullCLRExtensionsDir "Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.resources.dll"
Move-Loc-Files $coreCLR20PackageDir $coreCLRExtensionsDir "Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.resources.dll"
- Move-Loc-Files $fullCLRPackage451Dir $fullCLRExtensionsDir "Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.resources.dll"
+ Move-Loc-Files $net462PackageDir $fullCLRExtensionsDir "Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.resources.dll"
Move-Loc-Files $coreCLR20PackageDir $coreCLRExtensionsDir "Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.resources.dll"
}
@@ -601,7 +589,7 @@ function Publish-Package {
# Copy Event Log Datacollector to Extensions folder.
$eventLogDataCollector = Join-Path $env:TP_ROOT_DIR "src\DataCollectors\Microsoft.TestPlatform.Extensions.EventLogCollector\bin\$TPB_Configuration"
- $eventLogDataCollectorNetFull = Join-Path $eventLogDataCollector $TPB_TargetFramework451
+ $eventLogDataCollectorNetFull = Join-Path $eventLogDataCollector $TPB_TargetFramework462
Copy-Item $eventLogDataCollectorNetFull\Microsoft.TestPlatform.Extensions.EventLogCollector.dll $fullCLRExtensionsDir -Force
Copy-Item $eventLogDataCollectorNetFull\Microsoft.TestPlatform.Extensions.EventLogCollector.pdb $fullCLRExtensionsDir -Force
Copy-Item $eventLogDataCollectorNetFull\Microsoft.TestPlatform.Extensions.EventLogCollector.dll $coreCLRExtensionsDir -Force
@@ -624,8 +612,8 @@ function Publish-Package {
# If there are some dependencies for the TestHostRuntimeProvider assemblies, those need to be moved too.
$runtimeproviders = @("Microsoft.TestPlatform.TestHostRuntimeProvider.dll", "Microsoft.TestPlatform.TestHostRuntimeProvider.pdb")
foreach ($file in $runtimeproviders) {
- Write-Verbose "Move-Item $fullCLRPackage451Dir\$file $fullCLRExtensionsDir -Force"
- Move-Item $fullCLRPackage451Dir\$file $fullCLRExtensionsDir -Force
+ Write-Verbose "Move-Item $net462PackageDir\$file $fullCLRExtensionsDir -Force"
+ Move-Item $net462PackageDir\$file $fullCLRExtensionsDir -Force
Write-Verbose "Move-Item $coreCLR20PackageDir\$file $coreCLRExtensionsDir -Force"
Move-Item $coreCLR20PackageDir\$file $coreCLRExtensionsDir -Force
@@ -633,23 +621,23 @@ function Publish-Package {
# Move TestHostRuntimeProvider resource dlls
if ($TPB_LocalizedBuild) {
- Move-Loc-Files $fullCLRPackage451Dir $fullCLRExtensionsDir "Microsoft.TestPlatform.TestHostRuntimeProvider.resources.dll"
+ Move-Loc-Files $net462PackageDir $fullCLRExtensionsDir "Microsoft.TestPlatform.TestHostRuntimeProvider.resources.dll"
Move-Loc-Files $coreCLR20PackageDir $coreCLRExtensionsDir "Microsoft.TestPlatform.TestHostRuntimeProvider.resources.dll"
}
# Copy dependency of Microsoft.TestPlatform.TestHostRuntimeProvider
$newtonsoftJsonVersion = ([xml](Get-Content $env:TP_ROOT_DIR\eng\Versions.props)).Project.PropertyGroup.NewtonsoftJsonVersion
$newtonsoft = Join-Path $env:TP_PACKAGES_DIR "newtonsoft.json\$newtonsoftJsonVersion\lib\net45\Newtonsoft.Json.dll"
- Write-Verbose "Copy-Item $newtonsoft $fullCLRPackage451Dir -Force"
- Copy-Item $newtonsoft $fullCLRPackage451Dir -Force
+ Write-Verbose "Copy-Item $newtonsoft $net462PackageDir -Force"
+ Copy-Item $newtonsoft $net462PackageDir -Force
$newtonsoft = Join-Path $env:TP_PACKAGES_DIR "newtonsoft.json\$newtonsoftJsonVersion\lib\netstandard1.0\Newtonsoft.Json.dll"
Write-Verbose "Copy-Item $newtonsoft $coreCLR20PackageDir -Force"
Copy-Item $newtonsoft $coreCLR20PackageDir -Force
# Copy .NET Standard CPP Test adapter
- New-Item "$fullCLRPackage451Dir\TestHost" -ItemType Directory -Force | Out-Null
- $fullCLRTestHostDir = "$fullCLRPackage451Dir\TestHost"
+ New-Item "$net462PackageDir\TestHost" -ItemType Directory -Force | Out-Null
+ $fullCLRTestHostDir = "$net462PackageDir\TestHost"
$testPlatformRemoteExternalsVersion = ([xml](Get-Content "$env:TP_ROOT_DIR\scripts\build\TestPlatform.Dependencies.props")).Project.PropertyGroup.TestPlatformRemoteExternalsVersion
$testPlatformRemoteExternalsSourceDirectory = Join-Path $env:TP_PACKAGES_DIR "Microsoft.Internal.TestPlatform.Remote\$testPlatformRemoteExternalsVersion\tools\netstandard\Extensions\*"
@@ -715,20 +703,20 @@ function Publish-Tests {
Write-Log "Publish-Tests: Started."
# Adding only Perf project for now
- $fullCLRTestDir = Join-Path $env:TP_TESTARTIFACTS "$TPB_Configuration\$TPB_TargetFramework451"
- $fullCLRPerfTestAssetDir = Join-Path $env:TP_TESTARTIFACTS "$TPB_Configuration\$TPB_TargetFramework451\TestAssets\PerfAssets"
+ $fullCLRTestDir = Join-Path $env:TP_TESTARTIFACTS "$TPB_Configuration\$TPB_TargetFramework462"
+ $fullCLRPerfTestAssetDir = Join-Path $env:TP_TESTARTIFACTS "$TPB_Configuration\$TPB_TargetFramework462\TestAssets\PerfAssets"
$mstest10kPerfProjectDir = Join-Path $fullCLRPerfTestAssetDir "MSTest10kPassing"
$mstest10kPerfProject = Join-Path $env:TP_ROOT_DIR "test\TestAssets\PerfAssets\MSTest10kPassing"
- Publish-PackageInternal $mstest10kPerfProject $TPB_TargetFramework451 $mstest10kPerfProjectDir
+ Publish-PackageInternal $mstest10kPerfProject $TPB_TargetFramework462 $mstest10kPerfProjectDir
$nunittest10kPerfProjectDir = Join-Path $fullCLRPerfTestAssetDir "NUnit10kPassing"
$nunittest10kPerfProject = Join-Path $env:TP_ROOT_DIR "test\TestAssets\PerfAssets\NUnit10kPassing"
- Publish-PackageInternal $nunittest10kPerfProject $TPB_TargetFramework451 $nunittest10kPerfProjectDir
+ Publish-PackageInternal $nunittest10kPerfProject $TPB_TargetFramework462 $nunittest10kPerfProjectDir
$xunittest10kPerfProjectDir = Join-Path $fullCLRPerfTestAssetDir "XUnit10kPassing"
$xunittest10kPerfProject = Join-Path $env:TP_ROOT_DIR "test\TestAssets\PerfAssets\XUnit10kPassing"
- Publish-PackageInternal $xunittest10kPerfProject $TPB_TargetFramework451 $xunittest10kPerfProjectDir
+ Publish-PackageInternal $xunittest10kPerfProject $TPB_TargetFramework462 $xunittest10kPerfProjectDir
$testPerfProject = Join-Path $env:TP_ROOT_DIR "test\Microsoft.TestPlatform.PerformanceTests"
Publish-PackageInternal $testPerfProject $TPB_TargetFramework48 $fullCLRTestDir
@@ -771,7 +759,7 @@ function Publish-VsixPackage {
Write-Log "Publish-VsixPackage: Started."
$timer = Start-Timer
- $packageDir = Get-FullCLRPackageDirectory
+ $packageDir = Get-FullCLR462PackageDirectory
$extensionsPackageDir = Join-Path $packageDir "Extensions"
$testImpactComComponentsDir = Join-Path $extensionsPackageDir "TestImpact"
$legacyTestImpactComComponentsDir = Join-Path $extensionsPackageDir "V1\TestImpact"
@@ -782,7 +770,7 @@ function Publish-VsixPackage {
$interopExternalsVersion = ([xml](Get-Content $env:TP_ROOT_DIR\scripts\build\TestPlatform.Dependencies.props)).Project.PropertyGroup.InteropExternalsVersion
# Copy Microsoft.VisualStudio.IO to root
- $codeCoverageIOPackageDirectory = Join-Path $env:TP_PACKAGES_DIR "Microsoft.CodeCoverage.IO\$codeCoverageExternalsVersion\lib\$TPB_TargetFramework451"
+ $codeCoverageIOPackageDirectory = Join-Path $env:TP_PACKAGES_DIR "Microsoft.CodeCoverage.IO\$codeCoverageExternalsVersion\lib\net451"
Copy-Item $codeCoverageIOPackageDirectory\Microsoft.CodeCoverage.IO.dll $packageDir -Force
if ($TPB_LocalizedBuild) {
Copy-Loc-Files $codeCoverageIOPackageDirectory $packageDir "Microsoft.CodeCoverage.IO.resources.dll"
@@ -828,7 +816,7 @@ function Publish-VsixPackage {
Copy-Item -Recurse $comComponentsDirectoryTIA\* $legacyTestImpactComComponentsDir -Force
Copy-Item (Join-Path $env:TP_PACKAGE_PROJ_DIR "ThirdPartyNotices.txt") $packageDir -Force
-
+
Write-Log "Publish-VsixPackage: Complete. {$(Get-ElapsedTime($timer))}"
}
@@ -905,17 +893,17 @@ function Create-NugetPackages {
"Microsoft.TestPlatform.Build.csproj"
)
- $dependencies = @(
+ $dependencies = @(
"TestPlatform.Build.nuspec",
"TestPlatform.CLI.nuspec",
## .target and .props Files
- "Microsoft.NET.Test.Sdk.props",
+ "Microsoft.NET.Test.Sdk.props",
"Microsoft.CodeCoverage.props",
"Microsoft.CodeCoverage.targets",
-
+
## Content Directories
- "netcoreapp",
+ "netcoreapp",
"netfx"
)
@@ -1047,8 +1035,8 @@ function Copy-CodeCoverage-Package-Artifacts {
function Copy-PackageItems($packageName) {
# Packages published separately are copied into their own artifacts directory
- # E.g. src\Microsoft.TestPlatform.ObjectModel\bin\Debug\net451\* is copied
- # to artifacts\Debug\Microsoft.TestPlatform.ObjectModel\net451
+ # E.g. src\Microsoft.TestPlatform.ObjectModel\bin\Debug\net462\* is copied
+ # to artifacts\Debug\Microsoft.TestPlatform.ObjectModel\net462
$binariesDirectory = [System.IO.Path]::Combine($env:TP_ROOT_DIR, "src", "$packageName", "bin", "$TPB_Configuration")
$binariesDirectory = $(Join-Path $binariesDirectory "*")
$publishDirectory = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$packageName")
@@ -1087,12 +1075,8 @@ function Get-DotNetPath {
return $dotnetPath
}
-function Get-FullCLRPackageDirectory {
- return $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$TPB_TargetFramework451\$TPB_TargetRuntime")
-}
-
-function Get-FullCLRPackageDirectory45 {
- return $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$TPB_TargetFramework45\$TPB_TargetRuntime")
+function Get-FullCLR462PackageDirectory {
+ return $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\$TPB_TargetFramework462\$TPB_TargetRuntime")
}
function Get-CoreCLR20PackageDirectory {
@@ -1191,7 +1175,7 @@ function Build-SpecificProjects {
Write-Log "Build-SpecificProjects: Started for pattern: $ProjectNamePatterns"
# FrameworksAndOutDirs format ("", "").
$FrameworksAndOutDirs = (
- ("net451", "net451\win7-x64"),
+ ("net462", "net462\win7-x64"),
("netstandard1.0", "netstandard1.0"),
("netstandard1.3", "netstandard1.3"),
("netstandard2.0", "netcoreapp2.1"),
@@ -1280,7 +1264,7 @@ if ($Force -or $Steps -contains "Publish") {
Publish-VsixPackage
}
-if ($Force -or $Steps -contains "Pack") {
+if ($Force -or $Steps -contains "Pack") {
Create-VsixPackage
Create-NugetPackages
}
diff --git a/scripts/build.sh b/scripts/build.sh
index 329a71cdfd..d105eecb6f 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -140,7 +140,7 @@ DOTNET_CLI_VERSION=$_ReadGlobalVersion
#
TPB_Solution="TestPlatform.sln"
TPB_Build_From_Source_Solution="TestPlatform_BuildFromSource.sln"
-TPB_TargetFramework="net451"
+TPB_TargetFramework="net462"
TPB_TargetFrameworkCore="netcoreapp2.1"
TPB_Configuration=$CONFIGURATION
TPB_TargetRuntime=$TARGET_RUNTIME
@@ -340,8 +340,8 @@ function publish_package()
mkdir -p $testhost
if [[ $TP_USE_REPO_API = 0 ]]; then
- cp -r src/testhost/bin/$TPB_Configuration/net451/win7-x64/* $testhost
- cp -r src/testhost.x86/bin/$TPB_Configuration/net451/win7-x86/* $testhost
+ cp -r src/testhost/bin/$TPB_Configuration/net462/win7-x64/* $testhost
+ cp -r src/testhost.x86/bin/$TPB_Configuration/net462/win7-x86/* $testhost
else
cp -r src/testhost/bin/$TPB_Configuration/net6.0/* $testhost
cp -r src/testhost.x86/bin/$TPB_Configuration/net6.0/* $testhost
diff --git a/scripts/build/TestPlatform.Dependencies.props b/scripts/build/TestPlatform.Dependencies.props
index 1f0c83c63b..fcefff2c1b 100644
--- a/scripts/build/TestPlatform.Dependencies.props
+++ b/scripts/build/TestPlatform.Dependencies.props
@@ -15,8 +15,8 @@
- 2.3.0-preview-20220613-02
- 2.3.0-preview-20220613-02
+ 2.3.0-preview-20220711-02
+ 2.3.0-preview-20220711-02
1.0.3-preview
2.3.1
@@ -65,7 +65,7 @@
17.3.32621.448
17.3.32621.448
17.3.32621.448
-
+
17.0.0-beta.21179.1
16.0.461
$(MicrosoftBuildPackageVersion)
diff --git a/scripts/perf/perf.ps1 b/scripts/perf/perf.ps1
index 348a738ef9..754c6b222c 100644
--- a/scripts/perf/perf.ps1
+++ b/scripts/perf/perf.ps1
@@ -11,7 +11,7 @@ Param(
[System.String] $TargetRuntime = "win7-x64",
[Parameter(Mandatory=$false)]
- [ValidateSet("netcoreapp2.1", "net451", "net452")]
+ [ValidateSet("netcoreapp2.1", "net462")]
[Alias("f")]
[System.String] $TargetFramework,
@@ -39,12 +39,12 @@ $env:TP_OUT_DIR = Join-Path $env:TP_ROOT_DIR "artifacts"
#
# Test configuration
#
-$TPT_TargetFrameworkFullCLR = "net451"
+$TPT_TargetFrameworkFullCLR = "net462"
$TPT_TargetFramework20Core = "netcoreapp2.1"
Write-Verbose "Setup build configuration."
$Script:TPT_Configuration = $Configuration
$Script:TPT_SourceFolders = @(Join-Path $env:TP_ROOT_DIR "test\TestAssets")
-$Script:TPT_TargetFrameworks =@($TPT_TargetFramework20Core, $TPT_TargetFrameworkFullCLR, "net452")
+$Script:TPT_TargetFrameworks =@($TPT_TargetFramework20Core, $TPT_TargetFrameworkFullCLR)
$Script:TPT_TargetFramework = $TargetFramework
$Script:TPT_TargetRuntime = $TargetRuntime
$Script:TPT_Pattern = $Pattern
diff --git a/scripts/test.ps1 b/scripts/test.ps1
index c6e30a6113..75c580b103 100644
--- a/scripts/test.ps1
+++ b/scripts/test.ps1
@@ -94,7 +94,7 @@ $env:NUGET_PACKAGES = $env:TP_PACKAGES_DIR
#
# Test configuration
#
-$TPT_TargetFrameworkNet451 = "net451"
+$TPT_TargetFrameworkNet462 = "net462"
$TPT_TargetFrameworkNet48 = "net48"
$TPT_TargetFrameworkCore21 = "netcoreapp2.1"
$TPT_TargetFrameworkNet60 = "net6.0"
@@ -237,7 +237,7 @@ function Invoke-Test
{
$vstestConsoleFileName = "vstest.console.exe"
$targetRunTime = $Script:TPT_TargetRuntime
- $vstestConsolePath = Join-Path (Get-PackageDirectory $TPT_TargetFrameworkNet451 $targetRuntime) $vstestConsoleFileName
+ $vstestConsolePath = Join-Path (Get-PackageDirectory $TPT_TargetFrameworkNet462 $targetRuntime) $vstestConsoleFileName
}
if (!(Test-Path $vstestConsolePath))
diff --git a/scripts/verify-nupkgs.ps1 b/scripts/verify-nupkgs.ps1
index 458d975938..fea60c54c5 100644
--- a/scripts/verify-nupkgs.ps1
+++ b/scripts/verify-nupkgs.ps1
@@ -13,14 +13,14 @@ function Verify-Nuget-Packages($packageDirectory, $version)
Write-Log "Starting Verify-Nuget-Packages."
$expectedNumOfFiles = @{
"Microsoft.CodeCoverage" = 57;
- "Microsoft.NET.Test.Sdk" = 27;
- "Microsoft.TestPlatform" = 623;
+ "Microsoft.NET.Test.Sdk" = 24;
+ "Microsoft.TestPlatform" = 599;
"Microsoft.TestPlatform.Build" = 21;
- "Microsoft.TestPlatform.CLI" = 426;
+ "Microsoft.TestPlatform.CLI" = 498;
"Microsoft.TestPlatform.Extensions.TrxLogger" = 35;
- "Microsoft.TestPlatform.ObjectModel" = 238;
+ "Microsoft.TestPlatform.ObjectModel" = 209;
"Microsoft.TestPlatform.AdapterUtilities" = 62;
- "Microsoft.TestPlatform.Portable" = 646;
+ "Microsoft.TestPlatform.Portable" = 598;
"Microsoft.TestPlatform.TestHost" = 208;
"Microsoft.TestPlatform.TranslationLayer" = 123;
"Microsoft.TestPlatform.Internal.Uwp" = 86;
@@ -64,7 +64,7 @@ function Verify-Nuget-Packages($packageDirectory, $version)
}
}
- if ($errors) {
+ if ($errors) {
Write-Error "There are $($errors.Count) errors:`n$($errors -join "`n")"
}
diff --git a/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj b/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj
index bea0257eeb..22f83286a3 100644
--- a/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj
+++ b/src/DataCollectors/DumpMinitool.arm64/DumpMinitool.arm64.csproj
@@ -6,7 +6,7 @@
- net451
+ net462
net6.0
AnyCPU
false
@@ -15,7 +15,7 @@
win10-arm64
false
-
+
@@ -26,6 +26,6 @@
-
+
diff --git a/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj b/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj
index b4a2538573..0b9af2c937 100644
--- a/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj
+++ b/src/DataCollectors/DumpMinitool.x86/DumpMinitool.x86.csproj
@@ -6,7 +6,7 @@
- net451
+ net462
net6.0
AnyCPU
true
diff --git a/src/DataCollectors/DumpMinitool/DumpMinitool.csproj b/src/DataCollectors/DumpMinitool/DumpMinitool.csproj
index c8c2eaae8c..193cdc7331 100644
--- a/src/DataCollectors/DumpMinitool/DumpMinitool.csproj
+++ b/src/DataCollectors/DumpMinitool/DumpMinitool.csproj
@@ -6,7 +6,7 @@
- net451
+ net462
net6.0
AnyCPU
false
diff --git a/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/Microsoft.TestPlatform.Extensions.EventLogCollector.csproj b/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/Microsoft.TestPlatform.Extensions.EventLogCollector.csproj
index f9cda2f89a..d70c335c9c 100644
--- a/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/Microsoft.TestPlatform.Extensions.EventLogCollector.csproj
+++ b/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/Microsoft.TestPlatform.Extensions.EventLogCollector.csproj
@@ -6,7 +6,7 @@
Microsoft.TestPlatform.Extensions.EventLogCollector
- net451
+ net462
net6.0
false
true
diff --git a/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net451/PublicAPI.Shipped.txt b/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net451/PublicAPI.Shipped.txt
rename to src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.AdapterUtilities/ManagedNameUtilities/ManagedNameHelper.Reflection.cs b/src/Microsoft.TestPlatform.AdapterUtilities/ManagedNameUtilities/ManagedNameHelper.Reflection.cs
index 39c300fe43..ab47587eb3 100644
--- a/src/Microsoft.TestPlatform.AdapterUtilities/ManagedNameUtilities/ManagedNameHelper.Reflection.cs
+++ b/src/Microsoft.TestPlatform.AdapterUtilities/ManagedNameUtilities/ManagedNameHelper.Reflection.cs
@@ -5,9 +5,7 @@
using System;
using System.Globalization;
-#if !NET20
using System.Linq;
-#endif
using System.Reflection;
using System.Text;
diff --git a/src/Microsoft.TestPlatform.AdapterUtilities/Microsoft.TestPlatform.AdapterUtilities.csproj b/src/Microsoft.TestPlatform.AdapterUtilities/Microsoft.TestPlatform.AdapterUtilities.csproj
index f13e7bc8fe..db394bd085 100644
--- a/src/Microsoft.TestPlatform.AdapterUtilities/Microsoft.TestPlatform.AdapterUtilities.csproj
+++ b/src/Microsoft.TestPlatform.AdapterUtilities/Microsoft.TestPlatform.AdapterUtilities.csproj
@@ -5,7 +5,7 @@
- netstandard1.0;netstandard2.0;net45
+ netstandard1.0;netstandard2.0;net462
$(TargetFrameworks);uap10.0
net6.0
Microsoft.TestPlatform.AdapterUtilities
@@ -24,11 +24,11 @@
.NETFramework
- v4.5.1
+ v4.6.2
false
-
+
any
false
diff --git a/src/Microsoft.TestPlatform.Client/Microsoft.TestPlatform.Client.csproj b/src/Microsoft.TestPlatform.Client/Microsoft.TestPlatform.Client.csproj
index e100e5c959..691cfe18d0 100644
--- a/src/Microsoft.TestPlatform.Client/Microsoft.TestPlatform.Client.csproj
+++ b/src/Microsoft.TestPlatform.Client/Microsoft.TestPlatform.Client.csproj
@@ -6,7 +6,7 @@
Microsoft.VisualStudio.TestPlatform.Client
- netstandard2.0;net451
+ netstandard2.0;net462
net6.0
false
@@ -24,7 +24,7 @@
true
-
+
@@ -54,8 +54,5 @@
-
-
-
diff --git a/src/Microsoft.TestPlatform.Client/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.Client/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Client/PublicAPI/net451/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.Client/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.Client/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.Client/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Client/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.Client/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.Common/Microsoft.TestPlatform.Common.csproj b/src/Microsoft.TestPlatform.Common/Microsoft.TestPlatform.Common.csproj
index 9c9018c74d..e7c93252e9 100644
--- a/src/Microsoft.TestPlatform.Common/Microsoft.TestPlatform.Common.csproj
+++ b/src/Microsoft.TestPlatform.Common/Microsoft.TestPlatform.Common.csproj
@@ -6,7 +6,7 @@
Microsoft.VisualStudio.TestPlatform.Common
- net6.0;netstandard2.0;netstandard1.3;net451
+ net6.0;netstandard2.0;netstandard1.3;net462
net6.0
false
true
@@ -17,7 +17,7 @@
-
+
diff --git a/src/Microsoft.TestPlatform.Common/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.Common/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Common/PublicAPI/net451/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.Common/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.Common/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.Common/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Common/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.Common/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.CommunicationUtilities/Microsoft.TestPlatform.CommunicationUtilities.csproj b/src/Microsoft.TestPlatform.CommunicationUtilities/Microsoft.TestPlatform.CommunicationUtilities.csproj
index ba888529f8..6bf95f4807 100644
--- a/src/Microsoft.TestPlatform.CommunicationUtilities/Microsoft.TestPlatform.CommunicationUtilities.csproj
+++ b/src/Microsoft.TestPlatform.CommunicationUtilities/Microsoft.TestPlatform.CommunicationUtilities.csproj
@@ -5,7 +5,7 @@
Microsoft.TestPlatform.CommunicationUtilities
- net6.0;netstandard2.0;netstandard1.3;net451
+ net6.0;netstandard2.0;netstandard1.3;net462
net6.0
false
@@ -20,7 +20,7 @@
$(JsonNetVersion)
-
+
diff --git a/src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net451/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.CommunicationUtilities/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.CoreUtilities/Friends.cs b/src/Microsoft.TestPlatform.CoreUtilities/Friends.cs
index c55a499398..770eb71ba5 100644
--- a/src/Microsoft.TestPlatform.CoreUtilities/Friends.cs
+++ b/src/Microsoft.TestPlatform.CoreUtilities/Friends.cs
@@ -6,28 +6,16 @@
[assembly: InternalsVisibleTo("datacollector, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("datacollector.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net452, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net46, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net461, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net462, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net47, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net471, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net472, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net48, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net452.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net46.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net461.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net462.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net47.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net471.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net472.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net48.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net452.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net46.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net461.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net462.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net47.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net471.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net472.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
@@ -37,6 +25,7 @@
[assembly: InternalsVisibleTo("Microsoft.TestPlatform.CommunicationUtilities, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("Microsoft.VisualStudio.TestPlatform.ObjectModel, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("Microsoft.VisualStudio.TestPlatform.Common, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
+[assembly: InternalsVisibleTo("Microsoft.VisualStudio.TestPlatform.Client, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("datacollector.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
diff --git a/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj b/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj
index d348abafbc..4a252abfd1 100644
--- a/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj
+++ b/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj
@@ -6,7 +6,7 @@
Microsoft.TestPlatform.CoreUtilities
- net6.0;netstandard2.0;netstandard1.3;net451;net45
+ net6.0;netstandard2.0;netstandard1.3;net462
false
$(TargetFrameworks);uap10.0;netstandard1.0
net6.0
@@ -23,14 +23,14 @@
.NETFramework
- v4.5.1
+ v4.6.2
-
+
@@ -39,7 +39,7 @@
-
+
diff --git a/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net451/PublicAPI.Shipped.txt
deleted file mode 100644
index 32196d81df..0000000000
--- a/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net451/PublicAPI.Shipped.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-#nullable enable
-Microsoft.VisualStudio.TestPlatform.Utilities.ConsoleOutput
-Microsoft.VisualStudio.TestPlatform.Utilities.ConsoleOutput.Write(string? message, Microsoft.VisualStudio.TestPlatform.Utilities.OutputLevel level) -> void
-Microsoft.VisualStudio.TestPlatform.Utilities.ConsoleOutput.WriteLine(string? message, Microsoft.VisualStudio.TestPlatform.Utilities.OutputLevel level) -> void
-Microsoft.VisualStudio.TestPlatform.Utilities.OutputExtensions
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.SetupListener(System.Diagnostics.TraceListener? listener) -> void
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.SetupRemoteEqtTraceListeners(System.AppDomain? childDomain) -> void
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.get -> System.Diagnostics.TraceLevel
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.set -> void
-static Microsoft.VisualStudio.TestPlatform.Utilities.ConsoleOutput.Instance.get -> Microsoft.VisualStudio.TestPlatform.Utilities.ConsoleOutput!
-static Microsoft.VisualStudio.TestPlatform.Utilities.OutputExtensions.Error(this Microsoft.VisualStudio.TestPlatform.Utilities.IOutput! output, bool appendPrefix, string! format, params object?[]? args) -> void
-static Microsoft.VisualStudio.TestPlatform.Utilities.OutputExtensions.Information(this Microsoft.VisualStudio.TestPlatform.Utilities.IOutput! output, bool appendPrefix, string! format, params object?[]? args) -> void
-static Microsoft.VisualStudio.TestPlatform.Utilities.OutputExtensions.Information(this Microsoft.VisualStudio.TestPlatform.Utilities.IOutput! output, bool appendPrefix, System.ConsoleColor foregroundColor, string! format, params object?[]? args) -> void
-static Microsoft.VisualStudio.TestPlatform.Utilities.OutputExtensions.Warning(this Microsoft.VisualStudio.TestPlatform.Utilities.IOutput! output, bool appendPrefix, string! format, params object?[]? args) -> void
-static Microsoft.VisualStudio.TestPlatform.Utilities.OutputExtensions.Write(this Microsoft.VisualStudio.TestPlatform.Utilities.IOutput! output, string! message, Microsoft.VisualStudio.TestPlatform.Utilities.OutputLevel level, System.ConsoleColor foregroundColor) -> void
diff --git a/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net45/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net45/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net45/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net45/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.CrossPlatEngine/AttachmentsProcessing/TestRunAttachmentsProcessingManager.cs b/src/Microsoft.TestPlatform.CrossPlatEngine/AttachmentsProcessing/TestRunAttachmentsProcessingManager.cs
index cdd135e2d6..d1097ebe8e 100644
--- a/src/Microsoft.TestPlatform.CrossPlatEngine/AttachmentsProcessing/TestRunAttachmentsProcessingManager.cs
+++ b/src/Microsoft.TestPlatform.CrossPlatEngine/AttachmentsProcessing/TestRunAttachmentsProcessingManager.cs
@@ -118,7 +118,7 @@ private async Task> ProcessAttachmentsAsync(string? ru
var dataCollectorAttachmentsProcessors = _dataCollectorAttachmentsProcessorsFactory.Create(invokedDataCollector?.ToArray(), logger);
for (int i = 0; i < dataCollectorAttachmentsProcessors.Length; i++)
{
- // We need to dispose the DataCollectorAttachmentProcessor to unload the AppDomain for net451
+ // We need to dispose the DataCollectorAttachmentProcessor to unload the AppDomain for net462
using DataCollectorAttachmentProcessor dataCollectorAttachmentsProcessor = dataCollectorAttachmentsProcessors[i];
int attachmentsHandlerIndex = i + 1;
diff --git a/src/Microsoft.TestPlatform.CrossPlatEngine/Friends.cs b/src/Microsoft.TestPlatform.CrossPlatEngine/Friends.cs
index 9689194297..296a849c7f 100644
--- a/src/Microsoft.TestPlatform.CrossPlatEngine/Friends.cs
+++ b/src/Microsoft.TestPlatform.CrossPlatEngine/Friends.cs
@@ -10,28 +10,16 @@
[assembly: InternalsVisibleTo("datacollector.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("datacollector.PlatformTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net452, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net46, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net461, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net462, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net47, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net471, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net472, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net48, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net452.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net46.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net461.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net462.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net47.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net471.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net472.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net48.x86, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net452.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net46.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net461.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
-[assembly: InternalsVisibleTo("testhost.net462.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net47.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net471.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
[assembly: InternalsVisibleTo("testhost.net472.arm64, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]
diff --git a/src/Microsoft.TestPlatform.CrossPlatEngine/Microsoft.TestPlatform.CrossPlatEngine.csproj b/src/Microsoft.TestPlatform.CrossPlatEngine/Microsoft.TestPlatform.CrossPlatEngine.csproj
index f3315934ec..d470a416cc 100644
--- a/src/Microsoft.TestPlatform.CrossPlatEngine/Microsoft.TestPlatform.CrossPlatEngine.csproj
+++ b/src/Microsoft.TestPlatform.CrossPlatEngine/Microsoft.TestPlatform.CrossPlatEngine.csproj
@@ -6,7 +6,7 @@
Microsoft.TestPlatform.CrossPlatEngine
- net6.0;netstandard2.0;netstandard1.3;net451
+ net6.0;netstandard2.0;netstandard1.3;net462
net6.0
false
@@ -28,7 +28,7 @@
-
+
diff --git a/src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net451/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.CrossPlatEngine/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.Extensions.HtmlLogger/Microsoft.TestPlatform.Extensions.HtmlLogger.csproj b/src/Microsoft.TestPlatform.Extensions.HtmlLogger/Microsoft.TestPlatform.Extensions.HtmlLogger.csproj
index 9780016e5c..25be4eb501 100644
--- a/src/Microsoft.TestPlatform.Extensions.HtmlLogger/Microsoft.TestPlatform.Extensions.HtmlLogger.csproj
+++ b/src/Microsoft.TestPlatform.Extensions.HtmlLogger/Microsoft.TestPlatform.Extensions.HtmlLogger.csproj
@@ -6,7 +6,7 @@
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger
- netstandard2.0;net451
+ netstandard2.0;net462
net6.0
false
true
@@ -15,7 +15,7 @@
-
+
diff --git a/src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net451/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.Extensions.HtmlLogger/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj b/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj
index 22566329ba..54c0ae2e93 100644
--- a/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj
+++ b/src/Microsoft.TestPlatform.Extensions.TrxLogger/Microsoft.TestPlatform.Extensions.TrxLogger.csproj
@@ -6,14 +6,14 @@
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger
- net6.0;netstandard2.0;net451
+ net6.0;netstandard2.0;net462
net6.0
false
-
+
diff --git a/src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net451/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.Extensions.TrxLogger/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj b/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj
index 6566aac5c4..456beb6244 100644
--- a/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj
+++ b/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj
@@ -6,7 +6,7 @@
Microsoft.VisualStudio.TestPlatform.ObjectModel
- net45;net451;netcoreapp2.1;netcoreapp1.0;netstandard2.0;netstandard1.3
+ net462;netcoreapp2.1;netcoreapp1.0;netstandard2.0;netstandard1.3
$(TargetFrameworks);uap10.0;netstandard1.0
net6.0
Microsoft.TestPlatform.ObjectModel
@@ -26,7 +26,7 @@
-
+
diff --git a/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net451/PublicAPI.Shipped.txt
deleted file mode 100644
index 4019bb762c..0000000000
--- a/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net451/PublicAPI.Shipped.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-#nullable enable
-Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter.TestCanceledException.TestCanceledException(System.Runtime.Serialization.SerializationInfo! info, System.Runtime.Serialization.StreamingContext context) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter.TestPlatformFormatException.TestPlatformFormatException(System.Runtime.Serialization.SerializationInfo! info, System.Runtime.Serialization.StreamingContext context) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.SettingsException.SettingsException(System.Runtime.Serialization.SerializationInfo! info, System.Runtime.Serialization.StreamingContext context) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities.SuspendCodeCoverage
-Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities.SuspendCodeCoverage.Dispose() -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities.SuspendCodeCoverage.SuspendCodeCoverage() -> void
-override Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter.TestPlatformFormatException.GetObjectData(System.Runtime.Serialization.SerializationInfo! info, System.Runtime.Serialization.StreamingContext context) -> void
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.SetupListener(System.Diagnostics.TraceListener? listener) -> void (forwarded, contained in Microsoft.TestPlatform.CoreUtilities)
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.SetupRemoteEqtTraceListeners(System.AppDomain? childDomain) -> void (forwarded, contained in Microsoft.TestPlatform.CoreUtilities)
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.get -> System.Diagnostics.TraceLevel (forwarded, contained in Microsoft.TestPlatform.CoreUtilities)
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace.TraceLevel.set -> void (forwarded, contained in Microsoft.TestPlatform.CoreUtilities)
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities.AssemblyHelper.DoesReferencesAssembly(string! source, System.Reflection.AssemblyName! referenceAssembly) -> bool?
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities.AssemblyHelper.GetFrameworkVersionAndArchitectureForSource(string! testSource) -> System.Collections.Generic.KeyValuePair
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities.AssemblyHelper.GetReferencedAssemblies(string! source) -> string![]?
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities.AssemblyHelper.SetAppDomainFrameworkVersionBasedOnTestSource(System.AppDomainSetup! setup, string! testSource) -> void
-static Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework.DefaultFramework.get -> Microsoft.VisualStudio.TestPlatform.ObjectModel.Framework!
diff --git a/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net451/PublicAPI.Unshipped.txt
deleted file mode 100644
index ab058de62d..0000000000
--- a/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net451/PublicAPI.Unshipped.txt
+++ /dev/null
@@ -1 +0,0 @@
-#nullable enable
diff --git a/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net45/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net462/PublicAPI.Shipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net45/PublicAPI.Shipped.txt
rename to src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net462/PublicAPI.Shipped.txt
diff --git a/src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net451/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net462/PublicAPI.Unshipped.txt
similarity index 100%
rename from src/Microsoft.TestPlatform.CoreUtilities/PublicAPI/net451/PublicAPI.Unshipped.txt
rename to src/Microsoft.TestPlatform.ObjectModel/PublicAPI/net462/PublicAPI.Unshipped.txt
diff --git a/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs b/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs
index 40be3a5e2a..8ea7d31d22 100644
--- a/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs
+++ b/src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs
@@ -19,7 +19,7 @@ public class TraitCollection : IEnumerable
internal const string TraitPropertyId = "TestObject.Traits";
private static readonly TestProperty TraitsProperty = TestProperty.Register(
TraitPropertyId,
-#if !NET451
+#if !NET462
// TODO: Fix this with proper resourcing for UWP and Win 8.1 Apps
// Trying to access resources will throw "MissingManifestResourceException" percolated as "TypeInitialization" exception
"Traits",
diff --git a/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj b/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj
index 6c50686456..edc0aedc74 100644
--- a/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj
+++ b/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj
@@ -7,7 +7,7 @@
Microsoft.TestPlatform.PlatformAbstractions
Microsoft.TestPlatform.PlatformAbstractions
- net45;net451;netcoreapp1.0;netcoreapp2.1;netstandard1.3;netstandard2.0;net6.0
+ net462;netcoreapp1.0;netcoreapp2.1;netstandard1.3;netstandard2.0;net6.0
$(TargetFrameworks);uap10.0;netstandard1.0
net6.0
false
@@ -36,7 +36,7 @@
-
+
diff --git a/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net45/PublicAPI.Unshipped.txt b/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net45/PublicAPI.Unshipped.txt
deleted file mode 100644
index ab058de62d..0000000000
--- a/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net45/PublicAPI.Unshipped.txt
+++ /dev/null
@@ -1 +0,0 @@
-#nullable enable
diff --git a/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net451/PublicAPI.Shipped.txt b/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net451/PublicAPI.Shipped.txt
deleted file mode 100644
index 0d7e7074c9..0000000000
--- a/src/Microsoft.TestPlatform.PlatformAbstractions/PublicAPI/net451/PublicAPI.Shipped.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-#nullable enable
-Microsoft.VisualStudio.TestPlatform.ObjectModel.IPlatformEqtTrace.SetupListener(System.Diagnostics.TraceListener? listener) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.IPlatformEqtTrace.SetupRemoteEqtTraceListeners(System.AppDomain? childDomain) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace.InitializeTrace(string? customLogFile, Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformTraceLevel platformTraceLevel) -> bool
-Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace.MapPlatformTraceToTrace(Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformTraceLevel traceLevel) -> System.Diagnostics.TraceLevel
-Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace.SetupListener(System.Diagnostics.TraceListener? listener) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace.SetupRemoteEqtTraceListeners(System.AppDomain? childDomain) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace.WriteLine(Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformTraceLevel level, string? message) -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.RemoteEqtTrace
-Microsoft.VisualStudio.TestPlatform.ObjectModel.RemoteEqtTrace.RemoteEqtTrace() -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.RemoteEqtTrace.TraceLevel.get -> System.Diagnostics.TraceLevel
-Microsoft.VisualStudio.TestPlatform.ObjectModel.RemoteEqtTrace.TraceLevel.set -> void
-Microsoft.VisualStudio.TestPlatform.ObjectModel.RollingFileTraceListener
-Microsoft.VisualStudio.TestPlatform.ObjectModel.RollingFileTraceListener.RollingFileTraceListener(string! fileName, string! name, int rollSizeKB) -> void
-Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.Dispose(bool disposing) -> void
-Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.~PlatformAssemblyResolver() -> void
-Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformThread.Run(System.Action? action, Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformApartmentState apartmentState, bool waitForCompletion) -> void
-Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.ProcessHelper.LaunchProcess(string! processPath, string? arguments, string? workingDirectory, System.Collections.Generic.IDictionary? envVariables, System.Action