I have a custom project wizard which creates a c++ project with a series of build configurations setup. I recently migrated from Visual Studio 2008 to 2010. However there seems to be a difference in the behavior of the two. In Visual Studio 2008 the configurations get added to both the project and the solution. In Visual Studio 2010 however the configuration only gets added to the project.
Is there a known change between 2008 and 2010 or is this a bug?
Below is an extract from my default.js for the wizard showing one of the configurations being added to the project. Is it possible to do the same for the solution?
proj.Object.AddConfiguration('AutonomousDebug');
var currentConfig = proj.Object.Configurations('AutonomousDebug');
debugConfig.CopyTo( currentConfig );
currentConfig = proj.Object.Configurations('AutonomousDebug');
currentConfig.OutputDirectory = '$(SolutionDir)$(ConfigurationName)';
CLTool = currentConfig.Tools('VCLibrarianTool');
CLTool.OutputFile = '$(OutDir)\\$(ProjectName)_ad.lib';