2

Resolved

Moving a file from a folder to a symlink to that folder deletes the file

description

Create a project with a folder and a symlink (or hardlink) to that folder

Example:
PythonApplication1
    Folder
    SymLink  (where this is a symlink to Folder)
mklink /d SymLink Folder

Add a Python class 'class1.py' to Folder

Drag & drop move class1.py from Folder to SymLink.
You'll get a warning that class1.py already exists. Say Yes to the message box that asks to replace it.

You'll then get an error message box, and your class1.py file is deleted, nowhere to be found.
---------------------------
Microsoft Visual Studio
---------------------------
Could not find file 'c:\Projects\PythonApplication1\Folder\class1.py'.


---------------------------
OK   
---------------------------
Expected: We detect that the source and target are the same and we tell the user that.

comments