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
785
Upgrade Project Utility to 2011.1
posted

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.sln
11: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: index
11: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

  • 785
    Verified Answer
    Offline posted

    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

    • 222
      posted in reply to Dan

      Hi Dan,
      I have tried the same. But it doesn't seem to be working. I have the same problem as you pointed out.

      Saravanan

       

      • 2263
        posted in reply to Erick Brenes

        We have released and SR for the Version Utility today for 2011.1, and you can read more about it at http://blogs.infragistics.com/blogs/engineering/archive/2011/08/22/2011-1-version-utility-installer-re-release-service-release.aspx

        • 65
          Offline posted in reply to [Infragistics] Geoff Knoll

          Thanks!!!!!

          This solution working perfectly after remove the unused references

          • 2263
            posted in reply to Erick Brenes

            Sorry to hear that.  Are you using the Version Utility Extension in Visual Studio?  If so, try the Stand-alone Version Utility; there is a bug on x64 machines where you get this error, and we are working on fix it currently, but it's just in the Visual Studio extensions.

            • 65
              Offline posted in reply to [Infragistics] Geoff Knoll

              I removed the Gauge reference and Design reference, but still not working.

               

               

              01:05:16: Gathering volume and assembly information.

              01:05:18: ProjectFile element: Sicov\Sicov.vbproj is being treated as a proj file.

              01:05:18: Analyzing Sicov.vbproj...

              01:05:18: The following project needs to have its references updated: 

              01:05:21: ProjectFile element: Cuentas x Pagar\Cuentas x Pagar.vbproj is being treated as a proj file.

              01:05:21: Analyzing Cuentas x Pagar.vbproj...

              01:05:21: The following project needs to have its references updated: 

              01:05:21: ProjectFile element: ReportServerSicov\ReportServerSicov.rptproj is being treated as a proj file.

              01:05:21: Analyzing ReportServerSicov.rptproj...

              01:05:21: Nothing for us to upgrade.

              01:05:21: ProjectFile element: ReportesCliente\ReportesCliente.vbproj is being treated as a proj file.

              01:05:21: Analyzing ReportesCliente.vbproj...

              01:05:21: The following project needs to have its references updated: 

              01:05:21: ProjectFile element: smo\VS\SMODemos\SMODemos.csproj is being treated as a proj file.

              01:05:21: Analyzing SMODemos.csproj...

              01:05:21: Nothing for us to upgrade.

              01:05:21: ProjectFile element: Instalador\Instalador.vdproj is being treated as a proj file.

              01:05:21: The project file C:\Users\Erick\Desktop\SuCasa 2010\Instalador\Instalador.vdproj doesn't appear to be in Xml or is malformed.

              01:05:25: Index was out of range. Must be non-negative and less than the size of the collection.

              Parameter name: index

              01:05:25:    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()

               

              • 2263
                posted in reply to Erick Brenes

                Remove the reference to the Design assembly for Gauge. The tool doesn't handle upgrading design references as we don't recommend having Design assemblies referenced in a project.  That said older versions of Gauge as well as Chart would add references to there design assemblies.  You should be able to remove it, and upgrade without issue.

              • 2263
                posted in reply to Dan

                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.

                • 2263
                  posted in reply to Dan

                  Dan,

                  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. 

                  • 785
                    Offline posted in reply to [Infragistics] Geoff Knoll

                    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!


                    Dan