我正在尝试创建一个使用向导创建多项目模板的VSIX项目,但是我遇到了异常。
this.dte.Solution.AddFromTemplate(Path.Combine(this.templateDirectory, "WebTemplate\\UI.vstemplate"), Path.Combine(this.solutionDirectory, this.projectName), this.projectName, false);
异常信息为:
"无法找到文件。 (HRESULT: 0x80030002 (STG_E_FILENOTFOUND))"
堆栈跟踪信息如下:
在 EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive) 中发生异常
在 TemplateWizard.RootWizard.ProjectFinishedGenerating(Project project) 中发生异常