private void AddSolutionDir() { // Add the solution dir to the list of properties string solutionDir = GetSolutionDir(); if (!String.IsNullOrEmpty(solutionDir)) { Properties.Add("SolutionDir", solutionDir); } }