Hello,
I have a VSIP package which is built using VS2005 SDK and VS2010 compiler.
On solution load, I listen to IVsSccEnlistmentPathTranslation::TranslateProjectPathToEnlistmentPath method and callIVsProjectUpgradeViaFactory.UpgradeProject_CheckOnly Method to check whether any project/solution requires an upgrade. Based on this return value I take some necessary steps.
For a specific VS2010 solution( with multiple projects and solution folders and upgraded from VS2008), I always get thepUpgradeRequired value as TRUE.
When the same solution is opened in VS2012(VS2010 soln can be opened in VS2012 without an upgrade) I get the appropriate value forpUpgradeRequired.
Also, when I reorder the contents of .sln file (move all the solution folders' "Project - EndProject" section below the project's "Project - EndProject" section) I get the appropriate value forpUpgradeRequired.
Has anyone encountered any similar issue, if so what was the resolution?
Is this a known issue in VS2010 which is later fixed in VS2012?
regards,
bharath
P.S: I cannot share the solution/ project data