I want to get the binary name of a C++ Project with a Visual Studio C# Addin.
I googled and found, that the the EnvDTE.Configuration.properties should have a element called “AssemblyName” but C++ projects do not seem to have this element.
Did somebody know where could I get this information inside a visual studio addin?
For VC++ projects you need to get access to the
VCConfigurationobject which you should be able to get at from theEnvDTE.Project‘sObjectproperty like:At that point with the
VCConfigurationhow exactly to get at the correct properties depends on your set up. You can access the theVCLinkerToolfrom theToolsproperty and get at theOutputFileand other properties. Or, if you use the newer inherited property sheets you may access those through theRulesproperty.