问题
I'm making Visual Studio package, and i need to know opened solution name and configuration. How can i get this information ?
Thanks
回答1:
If you have a reference to EnvDTE, you can use dte.Solution
and dte.Solution.SolutionBuild.ActiveConfiguration
.
来源:https://stackoverflow.com/questions/13071175/how-to-get-current-solution-configuration-in-vspackage