Hi there,
I got the Project reference of a project in my solution (within my VSX package).
Now I delete this project, make changes in the structure and files and re-add this project again. This works quite well. My problem is that the project gets added in the project root and not in any solution folders it was before.
My question is: how can I determine if the project I removed was below a solution folder? For my source code it would be awesome to get the solution folder of a project so I can just remember that folder in a variable before I delete the project.
The other way round is to remember all solution folders and check if one of them contains my project.
But I'm not sure how to achieve that. I've tried things like ParentProjectItem of a project but that wont return the solution folder.
Can someone provide a hint how to easily achieve this?
Thanks in advance and bye
Fabian
The Visual Studio Settings-Switcher! Visit http://visualstudiogallery.msdn.microsoft.com/a79072f7-3109-44a0-95c0-9c50e729d6a3