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
1878
Version Utility fails
posted

Hi,

this morning I tried to upgrade from NetAdvantage for Windows Forms 10.3 to 11.1 using the Version Utility which throws an exception on some of my projects as depicted in following log output:

07:25:37: Gathering volume and assembly information.
07:25:51: Analyzing ConfigManagement.csproj...
07:25:51: The following project needs to have its references updated:
07:25:54: Updating ConfigManagement.csproj...
07:25:54: C:\Projects\ACS\Products\ConfigManagement\ConfigManagement.csproj has been backed up.
07:25:54: Object reference not set to an instance of an object.
07:25:54:    at Infragistics.VersionUtilitySupport.Core.File.Utilities.ProductUtilities.GetAssemblyName(String str)
   at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)

I started some investigations to see if there are differences between the projects where an exception is thrown and those where no exception is thrown and the most obvious thing was that the projects containing a reference to Infragistics.Practices.CompositeUI.WinForms throw an exception. I removed the reference to that assembly from the project, saved the entire solution, run Version Utility again and voilà, the conversion of the project succeeded. I tried it now with 3 projects and for each it was the same.

This assembly is not part of the standard Infragistics Installation but we are using the Infragistics CAB functionality in our project and that's the reason why it is there.

We are using VS2010, Windows 7 Enterprise 64bit, .NET Framework 4

Regards, Wolfgang

Parents
No Data
Reply
  • 20
    posted

    Hello,

     

    I just had the same issue whilst upgrading Visual Studio 2008 C# project from infragistics v10.3 to v11.1:

    05:03:52: Gathering volume and assembly information.
    05:03:53: Analyzing Bdg.AffirmationTxPAlerts.csproj...
    05:03:53: The following project needs to have its references updated:
    05:03:55: Updating Bdg.AffirmationTxPAlerts.csproj...
    05:03:55: Object reference not set to an instance of an object.
    05:03:55:    at Infragistics.VersionUtilitySupport.Core.File.Utilities.ProductUtilities.GetAssemblyName(String str)
       at Infragistics.VersionUtilitySupport.Core.File.Types.ProjectFile.Upgrade(String rootDirectory)

    Also the upgrade tool does not seem to cope Visual studio 2008 solution when projects are referenced in the solution by a relative path.

    # Please, can some one help? Thanks in advance.

     

    Regards,

    Joao Morais

Children