Skip to content

Commit c899e96

Browse files
MarcoRossignoliMarco Rossignoli
andauthored
Add missing runtimeconfig.json file for 8.0 (#4792)
Co-authored-by: Marco Rossignoli <mrossignol@microsoft.com>
1 parent 37a9284 commit c899e96

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

eng/verify-nupkgs.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ function Verify-Nuget-Packages {
1919
$expectedNumOfFiles = @{
2020
"Microsoft.CodeCoverage" = 59;
2121
"Microsoft.NET.Test.Sdk" = 16;
22-
"Microsoft.TestPlatform" = 605;
22+
"Microsoft.TestPlatform" = 606;
2323
"Microsoft.TestPlatform.Build" = 21;
24-
"Microsoft.TestPlatform.CLI" = 470;
24+
"Microsoft.TestPlatform.CLI" = 471;
2525
"Microsoft.TestPlatform.Extensions.TrxLogger" = 35;
2626
"Microsoft.TestPlatform.ObjectModel" = 93;
2727
"Microsoft.TestPlatform.AdapterUtilities" = 34;

src/package/Microsoft.TestPlatform.CLI/Microsoft.TestPlatform.CLI.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<file src="$TesthostRuntimeconfig$\testhost-5.0.runtimeconfig.json" target="contentFiles\any\netcoreapp3.1" />
4545
<file src="$TesthostRuntimeconfig$\testhost-6.0.runtimeconfig.json" target="contentFiles\any\netcoreapp3.1" />
4646
<file src="$TesthostRuntimeconfig$\testhost-7.0.runtimeconfig.json" target="contentFiles\any\netcoreapp3.1" />
47+
<file src="$TesthostRuntimeconfig$\testhost-8.0.runtimeconfig.json" target="contentFiles\any\netcoreapp3.1" />
4748
<file src="$TesthostRuntimeconfig$\testhost-latest.runtimeconfig.json" target="contentFiles\any\netcoreapp3.1" />
4849
<file src="netcoreapp3.1\testhost.dll" target="contentFiles\any\netcoreapp3.1" />
4950
<file src="netcoreapp3.1\testhost.deps.json" target="contentFiles\any\netcoreapp3.1" />

src/package/Microsoft.TestPlatform.CLI/Microsoft.TestPlatform.CLI.sourcebuild.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<file src="$TesthostRuntimeconfig$\testhost-5.0.runtimeconfig.json" target="contentFiles\any\$SourceBuildTfm$" />
4444
<file src="$TesthostRuntimeconfig$\testhost-6.0.runtimeconfig.json" target="contentFiles\any\$SourceBuildTfm$" />
4545
<file src="$TesthostRuntimeconfig$\testhost-7.0.runtimeconfig.json" target="contentFiles\any\$SourceBuildTfm$" />
46+
<file src="$TesthostRuntimeconfig$\testhost-8.0.runtimeconfig.json" target="contentFiles\any\$SourceBuildTfm$" />
4647
<file src="$TesthostRuntimeconfig$\testhost-latest.runtimeconfig.json" target="contentFiles\any\$SourceBuildTfm$" />
4748
<file src="$SourceBuildTfm$\testhost.dll" target="contentFiles\any\$SourceBuildTfm$" />
4849
<file src="$SourceBuildTfm$\testhost.deps.json" target="contentFiles\any\$SourceBuildTfm$" />

src/package/Microsoft.TestPlatform/Microsoft.TestPlatform.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@
539539
<file src="$TesthostRuntimeconfig$\testhost-5.0.runtimeconfig.json" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHostNet\testhost-5.0.runtimeconfig.json" />
540540
<file src="$TesthostRuntimeconfig$\testhost-6.0.runtimeconfig.json" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHostNet\testhost-6.0.runtimeconfig.json" />
541541
<file src="$TesthostRuntimeconfig$\testhost-7.0.runtimeconfig.json" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHostNet\testhost-7.0.runtimeconfig.json" />
542+
<file src="$TesthostRuntimeconfig$\testhost-8.0.runtimeconfig.json" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHostNet\testhost-8.0.runtimeconfig.json" />
542543
<file src="$TesthostRuntimeconfig$\testhost-latest.runtimeconfig.json" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHostNet\testhost-latest.runtimeconfig.json" />
543544
<file src="netcoreapp3.1\testhost.deps.json" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHostNet\testhost.deps.json" />
544545
<file src="netcoreapp3.1\testhost.dll" target="tools\net462\Common7\IDE\Extensions\TestPlatform\TestHostNet\testhost.dll" />
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"runtimeOptions": {
3+
"tfm": "net8.0",
4+
"framework": {
5+
"name": "Microsoft.NETCore.App",
6+
"version": "8.0.0-preview.0"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)