diff --git a/tests/dotnet/UnitTests/ProjectTest.cs b/tests/dotnet/UnitTests/ProjectTest.cs index 08e4af770199..52400df72515 100644 --- a/tests/dotnet/UnitTests/ProjectTest.cs +++ b/tests/dotnet/UnitTests/ProjectTest.cs @@ -2225,15 +2225,16 @@ public void PluralRuntimeIdentifiers (ApplePlatform platform, string runtimeIden PluralRuntimeIdentifiersImpl (platform, runtimeIdentifiers); } - internal static void PluralRuntimeIdentifiersImpl (ApplePlatform platform, string runtimeIdentifiers, Dictionary? extraProperties = null) + internal static void PluralRuntimeIdentifiersImpl (ApplePlatform platform, string runtimeIdentifiers, Dictionary? extraProperties = null, string configuration = "Debug") { var project = "MySimpleApp"; Configuration.IgnoreIfIgnoredPlatform (platform); Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers); - var project_path = GetProjectPath (project, runtimeIdentifiers: runtimeIdentifiers, platform: platform, out var appPath); + var project_path = GetProjectPath (project, runtimeIdentifiers: runtimeIdentifiers, platform: platform, out var appPath, configuration: configuration); Clean (project_path); var properties = GetDefaultProperties (extraProperties: extraProperties); + properties ["Configuration"] = configuration; properties ["RuntimeIdentifiers"] = runtimeIdentifiers; DotNet.AssertBuild (project_path, properties); diff --git a/tests/dotnet/UnitTests/WindowsTest.cs b/tests/dotnet/UnitTests/WindowsTest.cs index 72091fb95efa..cde173816ba1 100644 --- a/tests/dotnet/UnitTests/WindowsTest.cs +++ b/tests/dotnet/UnitTests/WindowsTest.cs @@ -213,12 +213,13 @@ public void BundleStructureWithRemoteMac (ApplePlatform platform, string runtime } [Category ("RemoteWindows")] - [TestCase (ApplePlatform.iOS, "ios-arm64")] - [TestCase (ApplePlatform.iOS, "iossimulator-arm64;iossimulator-x64")] - public void PluralRuntimeIdentifiersWithRemoteMac (ApplePlatform platform, string runtimeIdentifiers) + [TestCase (ApplePlatform.iOS, "ios-arm64", "Debug")] + [TestCase (ApplePlatform.iOS, "ios-arm64", "Release")] + [TestCase (ApplePlatform.iOS, "iossimulator-arm64;iossimulator-x64", "Debug")] + public void PluralRuntimeIdentifiersWithRemoteMac (ApplePlatform platform, string runtimeIdentifiers, string configuration) { var properties = AddRemoteProperties (); - DotNetProjectTest.PluralRuntimeIdentifiersImpl (platform, runtimeIdentifiers, properties); + DotNetProjectTest.PluralRuntimeIdentifiersImpl (platform, runtimeIdentifiers, properties, configuration); } static void AssertWarningsEqual (IList expected, IList actual, string message)