Skip to content

Commit

Permalink
Fixing adding pdb with one slash type and trying to remove another sl…
Browse files Browse the repository at this point in the history
…ash (#9180)
  • Loading branch information
thaystg authored Aug 8, 2024
1 parent 175f3a0 commit 99ba813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xamarin.Android.Build.Tasks/Tasks/BuildApk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ string CompressAssembly (ITaskItem assembly)

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

0 comments on commit 99ba813

Please sign in to comment.