I can't seem to upgrade my project to 2011.1. Following is the log file:
11:10:30: Gathering volume and assembly information.11:10:37: ProjectFile element: SOS_SalesPlanner\SOS_SalesPlanner.vbproj is being treated as a proj file.11:10:37: Analyzing SOS_SalesPlanner.vbproj...11:10:37: The following project needs to have its references updated: 11:10:50: Gathering volume and assembly information.11:10:52: ProjectFile element: SOS_SalesPlanner\SOS_SalesPlanner.vbproj is being treated as a proj file.11:10:52: Analyzing SOS_SalesPlanner.vbproj...11:10:52: The following project needs to have its references updated: 11:10:55: Upgrading Solution SOS_SalesPlanner.sln11:10:55: Updating SOS_SalesPlanner.vbproj...11:10:55: C:\Projects\SOS_SalesPlanner\SOS_SalesPlanner\SOS_SalesPlanner.vbproj has been backed up.11:10:55: Object reference not set to an instance of an object.11:10:55: at Infragistics.VersionUtilitySupport.Core.File.Utilities.ProductUtilities.GetAssemblyName(String str) at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)
I have tried to use the Upgrade addin as well. Different error but still does not work.
11:16:38: Gathering volume and assembly information.11:16:39: ProjectFile element: SOS_SalesPlanner\SOS_SalesPlanner.vbproj is being treated as a proj file.11:16:39: Analyzing SOS_SalesPlanner.vbproj...11:16:39: The following project needs to have its references updated: 11:16:43: Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index11:16:43: at System.ThrowHelper.ThrowArgumentOutOfRangeException() at Infragistics.VersionUtilitySupport.Core.ProductAssemblies.Products.KeepLatestVolumes(List`1 installedNetAdvantageProducts) at Infragistics.VersionUtilitySupport.Core.ProductAssemblies.Products.TrimList() at Infragistics.VersionUtilitySupport.Core.SourceChanger.Upgrade()
Project is currently 2010.3. No source control. I have tried other projects and they seem to go without a problem so this must be project specific. So I guess it is something with this one solution, but I don't have any idea what is causing the problem????
Dan
Ok I got it to upgrade. I had to go into the My Project folder and maually delete the contents of the Licenses.licx file. And then it worked. Could not just delete the file. Had to empty it with a text editor, and then it worked.
Not sure if this a bug or not. When I drilled into the "list of things to do" emptying the Licenses file was one of the things that it needed to do...
Dan,
Is there anyway you could provide us SOS_SalesPlanner.vbproj project so we could run it through the tool to debug it and see what's causing your issue? The error makes it look like it's failing when it's trying to upgrade a reference in the project file. The tool should clear out the .licx file, so why this isn't occurring could be an issue.
Thanks for that post, but unfortunately when you re-ran the utility, it kept overriding the version in the backup folder with what ever was the current one. When the upgrade fails it leaves the modified project in the original projects location, and the original project file is put into the backup folder. So the multiple runs you made with the tool overrode the backup version.
Here is the backup copy that was made. Will that work? A little more info for you, I first deleted the Licx file and ran the upgrade. Got an error, but it DID update the project references. I put the file back and removed the contents of the LICX file and it worked with no errors.
I now have a LICX file in the my projects folder, but there file is empty. I assume this is ok because my project seems to be working.
As an aside, the new Update program looks REAL NICE!