[Vspc-general] bug converting from VS2008 to VS2005
Brought to you by:
skidder
From: Caerwyn P. <ca...@ca...> - 2009-09-09 21:02:10
|
Hi, First off thanks for a very useful project. I've been converting projects form VS2008 to VS2005. The resultant projects are readable in VS2005 but can't be double clicked and don't have the correct icon. The conversion process is converting the version number from 10.00 to 9.000 (with three zeroes). The problem seems to be in SolutionConverter.cs at line 175 which I've corrected as follows. >From solution.nodeName = solution.nodeName.Replace(ver.Substring(0, compareLen), verTo.Substring(0, compareLen)); I don't think the substring extraction is necessary, you need to replace the entire version string. That works for me converting between VS2005 and VS2008. There may be other circumstances which I haven't taken into account. solution.nodeName = solution.nodeName.Replace(ver, verTo); Best Regards Caerwyn |