tjscience / RoboSharp

RoboSharp is a .NET wrapper for the awesome Robocopy windows application.
MIT License
216 stars 67 forks source link

Cant use RoboSharp in debugged run #97

Closed Xinnony closed 3 years ago

Xinnony commented 3 years ago

Hi everyone,

I have a problem with RoboSharp, When i run my debug project, Robocopy run and never finish. I thinks i have a problem with LoggingOptions.ListOnly option.

I see Robocopy.exe and Conhost.exe process and they never stop, i need to kill process.

If y launch my generated program directly, RoboSharp work ! Why is not work with VisualStudio ?! (Visual Studio Comminuty 2019 v16.9.4)

Thanks.

Xinnony commented 3 years ago

Problem resolve, when you ListOnly your Windows Drive, you have infinite loop caused by Junction folder. Just set robo.SelectionOptions.ExcludeJunctionPoints = true; for fix this problem.