DTE dte = (DTE)GetService(typeof(DTE));

string solutionDir = System.IO.Path.GetDirectoryName(dte.Solution.FullName);

05-11 13:21