Home Dashboard Directory Help
Search

NotImplementedException adding solution folder to solution folder by Carlos J. Quintero


Status: 

Closed
 as Won't Fix Help for as Won't Fix


5
0
Sign in
to vote
Type: Bug
ID: 635048
Opened: 1/7/2011 4:24:59 AM
Access Restriction: Public
1
Workaround(s)
view
2
User(s) can reproduce this bug

Description

When you try to add a solution folder to an existing solution folder using the automation model (EnvDTE) calling ProjectItems.AddFolder you get a NotImplementedException
Details
Sign in to post a comment.
Posted by Chavdar Dimitrov on 1/11/2013 at 4:07 AM
Check if the workaround works for you.
Posted by Cédric Guillemette on 1/31/2011 at 11:32 AM
This should be fixed. Very annoying. It used to work in VS2008.
Posted by Microsoft on 1/18/2011 at 4:43 PM
Thank you for your feedback. We will unfortunately not be able to fix this in the next VS release. If anything changes, we will update this thread.
Posted by Microsoft on 1/9/2011 at 6:42 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Posted by Microsoft on 1/7/2011 at 4:58 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by Chavdar Dimitrov on 1/11/2013 at 4:05 AM
Hi,

As a workaround, you can cast the Project to SolutionFolder. See example:

Project folder = sln.AddSolutionFolder("MySolutionFolder")
((SolutionFolder)folder.Object).AddSolutionFolder("MySolutionSubFolder")

Regards,
Chavdar Dimitrov