If a patch contains a rename:
diff --git a/src/Microsoft.DotNet.Build.Tasks.Feed.Tests/PushToAzureDevOpsArtifactsTests.cs b/src/Microsoft.DotNet.Build.Tasks.Feed.Tests/PushToBuildStorageTests.cs
similarity index 94%
rename from src/Microsoft.DotNet.Build.Tasks.Feed.Tests/PushToAzureDevOpsArtifactsTests.cs
rename to src/Microsoft.DotNet.Build.Tasks.Feed.Tests/PushToBuildStorageTests.cs
index 330c46a3..0635a612 100644
When we detect a change in a VMR patch (removal), we restore all patched files from the patch.
While doing this, it checks if the files exist -> detects that the patch is adding the file.
But, since it doesn't know about the rename, it doesn't find the file and thinks the patch was adding it, so it removes the file.
If a patch contains a rename:
When we detect a change in a VMR patch (removal), we restore all patched files from the patch.
While doing this, it checks if the files exist -> detects that the patch is adding the file.
But, since it doesn't know about the rename, it doesn't find the file and thinks the patch was adding it, so it removes the file.