This project has moved. For the latest updates, please go here.


Cannot move folder with contents in solution explorer


Create a python project.
Create the following
Move B to the root of the project (or another folder)

ERROR: Unable to find the destination folder

This works fine if the folder is empty.

Test: MoveFolderWithItem in SharedProjectTests\SourceControl.cs


GreenKNight wrote Sep 2, 2014 at 9:16 AM

I also see this dragging a folder up a level:

[Window Title]

[Main Instruction]
An unexpected error occurred

Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.

[^] Hide details [Close]

[Expanded Information]
System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudioTools.Project.NativeMethods.GetAbsolutePathToDirectory(String symlink)
at Microsoft.VisualStudioTools.Project.ProjectNode.ProjectReferenceFileAdder.CanAddFileFromProjectReference(String projectRef, String targetFolder, Boolean fromFolder)