diff --git a/tests/dotnet/UnitTests/ProjectTest.cs b/tests/dotnet/UnitTests/ProjectTest.cs index ae6367b58715..c68431b60cf3 100644 --- a/tests/dotnet/UnitTests/ProjectTest.cs +++ b/tests/dotnet/UnitTests/ProjectTest.cs @@ -2024,6 +2024,20 @@ public void BuildMyNativeAotAppWithTrimAnalysisWarning (ApplePlatform platform, [TestCase (ApplePlatform.TVOS, "tvossimulator-x64", "Debug")] [TestCase (ApplePlatform.TVOS, "tvossimulator-x64", "Release")] public void PublishAot (ApplePlatform platform, string runtimeIdentifiers, string configuration) + { + PublishAotImpl (platform, runtimeIdentifiers, configuration); + } + + [TestCase (ApplePlatform.iOS, "ios-arm64", "Release")] + [Category ("RemoteWindows")] + public void PublishAotOnWindows (ApplePlatform platform, string runtimeIdentifiers, string configuration) + { + Configuration.IgnoreIfNotOnWindows (); + + PublishAotImpl (platform, runtimeIdentifiers, configuration); + } + + void PublishAotImpl (ApplePlatform platform, string runtimeIdentifiers, string configuration) { var project = "MySimpleApp"; Configuration.IgnoreIfIgnoredPlatform (platform);