msbuild - Programmatically (using C#) determine current Visual Studio build configuration -
My Visual Studio 2013 C # app needs to programmatically determine whether another studio solution "Build mode "Or" Release "mode." Is there an API to accomplish this? Alternatively, I'm thinking of using the MSBield API to create and view a solution Was that the app is a symbol of debug or not? When you create an assembly in debug mode, the compiler automatically [assembly: Debuggable-additives] you can use reflection to see if this feature is present in the assembly or not. Take a look here for details on how to read the properties of assembly: