Commit cb09837
committed
File.Move doesn't overwrite targets
File.Move will throw an exception whenever the target file exists.
Assuming that the task should overwrite the existing target files
for smooth operation, this change checks whether the target file
exists and, if so, deletes it prior to calling File.Move1 parent da0cc06 commit cb09837
File tree
1 file changed
+4
-1
lines changed- src/Xamarin.Android.Tools.BootstrapTasks/Xamarin.Android.Tools.BootstrapTasks
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| |||
0 commit comments