Programmatically getting solution details
Is there a a way to get the proce开发者_如何学JAVAssor type, build type, etc, from a Visual Studio solution, via C#?
There is something called ConfigurationManager which takes care of the build type and other details.
Create a Visual Studio Addin (A Project Template is available in Visual Studio in the Extensibility Category) and access your current Solution Configuration with the ActionConfiguration Property from DTE.Solution. See this for further details:
精彩评论