A couple of weeks ago I wrote about how to create a project from a Visual Studio add-in. A question today in the MSDN VSX forum has made me to realize that I only covered the case when you add a project directly to the solution, not the case when you want to add the project to a solution folder.
At first I thought that it wouldn’t be possible because of this similar scenario:
PRB: NotImplementedException adding a solution folder to a solution folder in Visual Studio from a macro or add-in.
But it happens that it is possible, so I have written another article with sample code in C# and VB.NET:
HOWTO: Create a project from a Visual Studio add-in inside a solution folder
And of course I have to correct the article above because it is also possible to add nested solution folders, although it seems that only virtually (not on disk).