Skip to content

Commit a24a189

Browse files
committed
[dotnet] Fix targeting packs for test targets
1 parent 3384df3 commit a24a189

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dotnet/test/common/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ csharp_library(
3939
"**/*Tests.cs",
4040
],
4141
),
42-
target_frameworks = ["netstandard2.0"],
42+
target_frameworks = ["net7.0"],
4343
targeting_packs = [
44-
framework("nuget", "NETStandard.Library"),
44+
framework("nuget", "Microsoft.NETCore.App.Ref"),
4545
],
4646
visibility = [
4747
"//dotnet/test:__subpackages__",
@@ -77,7 +77,7 @@ dotnet_nunit_test_suite(
7777
],
7878
target_frameworks = ["net7.0"],
7979
targeting_packs = [
80-
framework("nuget", "NETStandard.Library"),
80+
framework("nuget", "Microsoft.NETCore.App.Ref"),
8181
],
8282
deps = [
8383
":fixtures",

0 commit comments

Comments
 (0)