1

Resolved

Cannot move folder with contents in solution explorer

description

Create a python project.
Create the following
A
->B
--->file.txt
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

comments

GreenKNight wrote Sep 2 at 10:16 AM

I also see this dragging a folder up a level:

[Window Title]
devenv.exe

[Main Instruction]
An unexpected error occurred

[Content]
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)