codereflection/Giles — pull request #43 by reidev275 (2013-09-25 17:48:41+00:00)
Title: Issue #38

Issue was within Program.cs in the StartSourceWatcher method. That method passed the solution path into watcher.Watch. That's fine as long as the projects referenced by the solution are within child subdirectories of the solution path, but if they aren't the files aren't watched. My solution was to add a SolutionParser object that through reflection uses the internal .net SolutionParser object to get the relative paths to all projects included within the solution. I then call watcher.Watch for each returned relative path.

I included a LegacyParser class that implements the interface to allow backwards compatibility.

Another provider option could be to use regex to find all projects and their relative paths within a sln file.