diff --git a/dotnet/targets/Xamarin.Shared.Sdk.targets b/dotnet/targets/Xamarin.Shared.Sdk.targets
index 31ffddc20f3e..9311b9f419eb 100644
--- a/dotnet/targets/Xamarin.Shared.Sdk.targets
+++ b/dotnet/targets/Xamarin.Shared.Sdk.targets
@@ -1518,7 +1518,7 @@
PublishFolderType="Assembly"
/>
-
+
-
+
<_CreateDumpExecutableToSign Include="@(_CreateDumpExecutable -> '$(_DylibPublishDir)%(RelativePath)')" KeepMetadata="false">
diff --git a/tests/dotnet/UnitTests/BundleStructureTest.cs b/tests/dotnet/UnitTests/BundleStructureTest.cs
index 6d9c7d92622d..a4703f1b6ee2 100644
--- a/tests/dotnet/UnitTests/BundleStructureTest.cs
+++ b/tests/dotnet/UnitTests/BundleStructureTest.cs
@@ -294,9 +294,6 @@ internal static void CheckAppBundleContents (ApplePlatform platform, IEnumerable
AddMultiRidAssembly (platform, expectedFiles, assemblyDirectory, Path.GetFileNameWithoutExtension (Configuration.GetBaseLibraryName (platform, true)), runtimeIdentifiers, forceSingleRid: (platform == ApplePlatform.MacCatalyst && !isReleaseBuild) || platform == ApplePlatform.MacOSX, hasPdb: false, includeDebugFiles: includeDebugFiles);
expectedFiles.Add (Path.Combine (assemblyDirectory, "runtimeconfig.bin"));
- if (platform == ApplePlatform.MacOSX)
- expectedFiles.Add (Path.Combine ("Contents", "MonoBundle", "createdump"));
-
switch (platform) {
case ApplePlatform.iOS:
case ApplePlatform.TVOS:
diff --git a/tests/dotnet/UnitTests/ProjectTest.cs b/tests/dotnet/UnitTests/ProjectTest.cs
index cf28e07598cf..d23a36a1a265 100644
--- a/tests/dotnet/UnitTests/ProjectTest.cs
+++ b/tests/dotnet/UnitTests/ProjectTest.cs
@@ -635,7 +635,7 @@ public void BuildCoreCLR (ApplePlatform platform, string runtimeIdentifiers)
ExecuteWithMagicWordAndAssert (platform, runtimeIdentifiers, appExecutable);
var createdump = Path.Combine (appPath, "Contents", "MonoBundle", "createdump");
- Assert.That (createdump, Does.Exist, "createdump existence");
+ Assert.That (createdump, Does.Not.Exist, "createdump existence");
}
[Test]