diff --git a/r5dev/r5dev.vcxproj b/r5dev/r5dev.vcxproj
index 98699835..3b562f80 100644
--- a/r5dev/r5dev.vcxproj
+++ b/r5dev/r5dev.vcxproj
@@ -151,7 +151,8 @@
Minhook.x64.lib;r5net.lib;%(AdditionalDependencies)
- rename "$(TargetPath)" "r5dev.dll"
+ del $(SolutionDir)bin\$(Configuration)\r5dev.dll
+rename "$(TargetPath)" "r5dev.dll"
if not EXIST $(SolutionDir)external\minhook\lib\$(Configuration)\Minhook.x64.lib (