private void Initialize(_DTE dte, Dictionary <string, string> parameters) { string wizardData = null; if (parameters.TryGetValue(PARAMETER_NAME_WIZARD_DATA, out wizardData)) { XmlDocument xd = new XmlDocument(); xd.LoadXml(wizardData); this.extensionConfiguration = XMLHelper.ConvertToObject <ProjectExtension>(xd, Assembly.GetExecutingAssembly(), String.Format("{0}.Schema.ExtensionData.xsd", this.GetType().Namespace)); } Solution s = dte.Solution; string path = s.FileName; if (!String.IsNullOrEmpty(path)) { this.solutionPath = Path.GetDirectoryName(path); } }