Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VS Addin - How do I find the directory path of the currently selected project in Visual Studio

$
0
0

I am building a Visual Studio Add-in and I am trying to get the full path of the current project.

So basically the user has a solution pulled up with 3 projects in it, and is currently working on one of them, I want to be able to retrieve the projects root folder and not the solutions root folder.

How would I do this? If you need more information please let me know. 

I am trying to accomplish this: The user clicks a menu item in the context, it then loads a form in my addin and onthe forms load it gets the current projects directory path.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>