1
Vote

AddFromTemplate returns null

description

The current implementation of AddFromTemplate is just a stub on the original DTE method, which returns null by design as of MSDN: https://msdn.microsoft.com/en-us/library/envdte._solution.addfromtemplate.aspx

Within StudioShell it does not really makes sense, since the returned ShellProject instance has a null object within it.

To get a usable ShellProject back, the AddFromTemplate method must find the newly created project within the Projects collection by name.

comments