How to get current solution configuration in vspackage?

旧巷老猫 提交于 2020-01-25 03:37:28

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!