Hello,
I'm trying to upgrade a solution from 2011.1 to 2011.2 using the version utility and it's throwing an exception in a project file (which doesn't reference Infragistics at all).
02:20:25: Running User Interface Version 11.2.20112.100002:20:25: Gathering volume and assembly information.02:20:33: ProjectFile element: Shell\Shell\Shell.csproj is being treated as a proj file.02:20:33: Analyzing Shell.csproj...02:20:33: The project has references that need to be updated.02:20:34: ProjectFile element: Shell\Shell.Web\Shell.Web.csproj is being treated as a proj file.02:20:34: Analyzing Shell.Web.csproj...02:20:34: Nothing for us to upgrade.02:20:34: ProjectFile element: Prism.Extensions\Prism.Extensions.csproj is being treated as a proj file.02:20:34: Analyzing Prism.Extensions.csproj...02:20:34: Nothing for us to upgrade.02:20:34: Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index02:20:34: at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at Infragistics.VersionUtilitySupport.Core.File.Types.WebSite.GetAllSiteFiles(Boolean analyze) at Infragistics.VersionUtilitySupport.Core.File.Types.WebSite.Analyze() at Infragistics.VersionUtilitySupport.Core.File.Types.SolutionFile.Analyze()
The version I have is 11.2.20112.1000 installed from a download from ~2 weeks ago.
Please could somebody take a look?
Many thanks,
Tim.
Hello Tim,
For running the version utility it will be helpful to provide a sample project on the thread that I can run on my local machine. This will allow me to reproduce the error message described.
Let me know if you have any questions with this matter. Thank you.
Sample .sln and *.csproj attached.
This is just a follow up on the thread if you have any questions in regards to upgrading a project manually. In the help documentation provides steps for upgrading to the latest version of NetAdvantage.
Is there any update on this?
I just tried to update 3 solutions, and all failed with the same index out of range error in WebSite.GetAllSiteFiles (and only one of the solutions has a web site).
I sure hope I don't have to do the upgrade manually, but if I do is there a later document telling exactly how to upgrade from 10.3 to 11.2, and from 11.1 to 11.2 (different solutions using different version)?
Thanks,
Mike
Hello MichaelSargent,
For upgrading from 11.1 to 11.2 would be very similar as from upgrading 10.1 to 10.2 manually. You can remove the previous assembly reference and then add with the newer assembly name of the NetAdvantage volume. Also there may be some namespaces that are required to be changed. In the documentation provides a guide for some examples of the changes.
You can find the list of assembly names that were changed previously here: http://help.infragistics.com/NetAdvantage/Silverlight/2011.2/CLR4.0/?page=Breaking_Changes_2010_Volume_2_Assemly_Rename_and_Refactoring.html.