From 82176c56f4e6d54aee8d1d8c3f2dae2a58981f2d Mon Sep 17 00:00:00 2001 From: Jackson Schuster <36744439+jtschuster@users.noreply.github.com> Date: Mon, 7 Jul 2025 11:30:40 -0700 Subject: [PATCH] Make test projects that reference NativeExports platform-specific --- .../ComInterfaceGenerator.Tests.csproj | 2 ++ .../LibraryImportGenerator.Tests.csproj | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Tests/ComInterfaceGenerator.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Tests/ComInterfaceGenerator.Tests.csproj index 4c953e51ddb7a8..16016d184700d7 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Tests/ComInterfaceGenerator.Tests.csproj +++ b/src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Tests/ComInterfaceGenerator.Tests.csproj @@ -2,6 +2,8 @@ $(NetCoreAppCurrent) + + $(TargetRid) true true true diff --git a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.Tests/LibraryImportGenerator.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.Tests/LibraryImportGenerator.Tests.csproj index 47c6ab7ff8ed22..8e99f4edd9dc0c 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.Tests/LibraryImportGenerator.Tests.csproj +++ b/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.Tests/LibraryImportGenerator.Tests.csproj @@ -1,6 +1,8 @@ $(NetCoreAppCurrent) + + $(TargetRid) true true true