We developed our own project type for vs2005 with 2006.04 SDK, now upgraded to vs2008, but hit a problem when opening/building an older verion(created in vs2005) with vs2008, the project fail to buid.
The problem is when we created our plugin in vs2005, we used default ConfigProvider, which creates .NET as platform names. You can see that from the solution file contains our custom project (below):
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E4BFFB9A-48EB-47F5-8B94-12A36B509583}.Debug|.NET.ActiveCfg = Debug|.NET
{E4BFFB9A-48EB-47F5-8B94-12A36B509583}.Debug|.NET.Build.0 = Debug|.NET
{E4BFFB9A-48EB-47F5-8B94-12A36B509583}.Release|.NET.ActiveCfg = Release|.NET
{E4BFFB9A-48EB-47F5-8B94-12A36B509583}.Release|.NET.Build.0 = Release|.NET
EndGlobalSection
In vs2008, with sdk changes, .NET is not a valid platform name anymore, so we are getting "Value does not fall within the expected range." error.
I've been looking into ways to upgrade the solution file by deleting old configurations and creating new ones through ConfigurationManager on both Solution and Project automation model, but none suceeded.
Can anyone shine a light on this? You help is really appreciated.
Thanks, Jinlin