It went actually pretty smoothly, however I met one error in our solution:
The path to the configuration data of the solution was done in following way:
Environment.GetFolderPath(Environment.SpecialFolder.CommonProgramFiles) + @"\Microsoft Shared\web server extensions\12\Config\oursuperconfig.xml");
The “12” folder is hard coded into the string so it cannot work for sp2010 because it stores data in the “14” folder.
I found a SharePoint function SPUtility.GetGenericSetupPath that can handle this problem. This function returns the correct folder for both SP versions:
SPUtility.GetGenericSetupPath("config")+"oursuperconfig.xml"
Leave a Reply