Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3521
Upgrade Advice
posted

I am going to start a process to upgrade our existing SL project to the latest environment.  I think that I might need to do this in steps, as the first trial run using the upgrade utility died a miserable death almost instantaneously.  Well to be fair, it updated my references successfully in the project file before crashing on the first class file it found.

Current environment:

SL 3, IG SL LOB 2009.2, ASP .Net 3.5

Where we want to be:

SL 4, IG SL LOB 2010.3, ASP .Net 4.0

So, my question is does the upgrade utility depend on the other upgrades happening first?  The first go round was to let IG attempt to deal with it.  Within 3 files the utility crashed.  So, any advice you can give please let me know.  My next iteration I will try upgrading the SL and .Net targets first.

If you want to know the details of the crash, here is the exception.  Looks like a problem with your text replace function..

09:39:11: Replacing Imports Infragistics.Silverlight.Controls.Primitives with Imports Infragistics.Controls.Grids.Primitives in code behind file.
09:39:11: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
09:39:11:    at System.String.Insert(Int32 startIndex, String value)
   at Infragistics.VersionUtilitySupport.Core.File.Types.CodeBehindFile.Upgrade(String rootDirectory)
   at Infragistics.VersionUtilitySupport.Core.File.Types.AdditionalFiles.Update(DirectoryInfo workingDirectory)
   at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)