diff --git a/CodeCoverage/Program.cs b/CodeCoverage/Program.cs index b5ee8b9..5640ed5 100644 --- a/CodeCoverage/Program.cs +++ b/CodeCoverage/Program.cs @@ -46,8 +46,15 @@ public static void Main(string[] args) //check if we can see the Packages folder Console.WriteLine("Initial Working Directory: " + workingDirectory); + //see if the packages folder exists if(!Directory.Exists(workingDirectory + @"\Packages")) { + //list everything in this directory + string[] directories = Directory.GetDirectories(workingDirectory); + foreach (string directory in directories) + { + Console.WriteLine("Directory: " + directory); + } //if we cant, then we are in the wrong directory, so go up a few directories workingDirectory = Directory.GetParent(workingDirectory).Parent.Parent.Parent.FullName; }