1

i´m working on an addin for VS 2012..

The problem is, i need to find out the current SolutionPath to put a file in the current solution..

How can i do this?

Thx!

James McNellis
  • 348,265
  • 75
  • 913
  • 977
fwartner
  • 13
  • 1
  • 6

1 Answers1

0

A few options:

James McNellis
  • 348,265
  • 75
  • 913
  • 977
  • If you want to use the first option (`EnvDTE.Solution`), I should point out that this is passed into the add-in in `OnConnection` and assigned to `_applicationObject`. You can then use `_applicationObject.Solution.FullName` to get what you want. – Neo May 30 '14 at 10:22