Skip to content

Commit 99ba813

Browse files
authored
Fixing adding pdb with one slash type and trying to remove another slash (#9180)
1 parent 175f3a0 commit 99ba813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/BuildApk.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ string CompressAssembly (ITaskItem assembly)
597597

598598
bool AddFileToArchiveIfNewer (ZipArchiveEx apk, string file, string inArchivePath, CompressionMethod compressionMethod = CompressionMethod.Default)
599599
{
600-
existingEntries.Remove (inArchivePath);
600+
existingEntries.Remove (inArchivePath.Replace (Path.DirectorySeparatorChar, '/'));
601601
if (apk.SkipExistingFile (file, inArchivePath, compressionMethod)) {
602602
Log.LogDebugMessage ($"Skipping {file} as the archive file is up to date.");
603603
return false;

0 commit comments

Comments
 (0)