Article ID: 216851 - View products that this article applies to.
This article was previously published under Q216851
This article has been archived. It is offered "as is" and will no longer be updated.
The AddConfiguration automation method fails with the following error when called from a Developer Studio macro and the active project is a makefile project:
The configuration could not be added to the project.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
The AddConfiguration also fails when called from a Visual Basic or Visual C++ addin. The returning HRESULT is 0xcccccccc when AddConfiguration succeeds (when a non-makefile project is active) or fails (makefile project is active).
Steps to Reproduce the Behavior
Article ID: 216851 - Last Review: February 21, 2014 - Revision: 2.0