The file watcher seems to sometimes produce strange events which
look like a directory being renamed to a file. This can cause the
IDE to believe the solution file has been deleted since the file
service will raise a FileRemoved event for a rename. To avoid this
check that the directory does not exist and if it does the FileRemoved
event is not fired with this type of rename.
Fixes VSTS #1027550 - VSMac keeps closing my solution
The file watcher seems to sometimes produce strange events which look like a directory being renamed to a file. This can cause the IDE to believe the solution file has been deleted since the file service will raise a FileRemoved event for a rename. To avoid this check that the directory does not exist and if it does the FileRemoved event is not fired with this type of rename.
Fixes VSTS #1027550 - VSMac keeps closing my solution