I am getting exception while executing below method in Visual Studio 2017 15.8.4 alone but in visual studio 2017 15.7.4 project created successfully with my custom vsix.
soln.AddFromTemplate(path, _destinationPath, _projectName, false);
Stacktrace : "at EnvDTE80.Solution2.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)\r\n at WebProjectTemplate.IWizardImplementationRoot.RunFinished()"
Message : "The data is invalid. (Exception from HRESULT: 0x8007000D)"