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
340
How to Upgrade Serialized Infragistics Assembly Info in Resx
posted

I just upgraded my assembly references from Infragistics 14.1 to Infragistics 15.2.  For one particular form, I cannot open the form in design mode in Visual Studio and the build server throws an error.

 

This is the error I'm getting in desing view -

Object of type 'System.Collections.Generic.List`1[Infragistics.Win.UltraWinTree.UltraTreeNode]' cannot be converted to type 'System.Collections.Generic.List`1[Infragistics.Win.UltraWinTree.UltraTreeNode]'.

 

This is the error I’m getting from the build server –

Facility Manager\Main\Facility Manager\Source\NCS.FacilityManager.Windows.Forms\Forms\Staging\StagingSubmissionDialog.resx (133, 5)

Invalid Resx file. Could not load type System.Collections.Generic.List`1[[Infragistics.Win.UltraWinTree.UltraTreeNode, Infragistics4.Win.UltraWinTree.v14.1, Version=14.1.20141.2165, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 which is used in the .RESX file. Ensure that the necessary references have been added to your project. Line 133, position 5.

 

This is the problematic entry in the .resx file and the corresponding .net code that calls it:

this.stagingHierarchyDataView.SubmittedNodes = ((System.Collections.Generic.List<Infragistics.Win.UltraWinTree.UltraTreeNode>)(resources.GetObject("stagingHierarchyDataView.SubmittedNodes")));

 

<data name="stagingHierarchyDataView.SubmittedNodes" mimetype="application/x-microsoft.net.object.binary.base64">

    <value>

AAEAAAD/////AQAAAAAAAAAMAgAAAL4BSW5mcmFnaXN0aWNzNC5XaW4uVWx0cmFXaW5UcmVlLnYxNC4x

LCBWZXJzaW9uPTE0LjEuMjAxNDEuMjE2NSwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj03

ZGQ1YzMxNjNmMmNkMGNiXV0sIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJh

bCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQwDAAAAb0luZnJhZ2lzdGljczQuV2luLlVs

dHJhV2luVHJlZS52MTQuMSwgVmVyc2lvbj0xNC4xLjIwMTQxLjIxNjUsIEN1bHR1cmU9bmV1dHJhbCwg

UHVibGljS2V5VG9rZW49N2RkNWMzMTYzZjJjZDBjYgUBAAAATlN5c3RlbS5Db2xsZWN0aW9ucy5HZW5l

cmljLkxpc3RgMVtbSW5mcmFnaXN0aWNzLldpbi5VbHRyYVdpblRyZWUuVWx0cmFUcmVlTm9kZQMAAAAG

X2l0ZW1zBV9zaXplCF92ZXJzaW9uBAAALUluZnJhZ2lzdGljcy5XaW4uVWx0cmFXaW5UcmVlLlVsdHJh

VHJlZU5vZGVbXQMAAAAICAIAAAAJBAAAAAAAAAAAAAAABwQAAAAAAQAAAAAAAAAEK0luZnJhZ2lzdGlj

cy5XaW4uVWx0cmFXaW5UcmVlLlVsdHJhVHJlZU5vZGUDAAAACw==

</value>

 

How do I update what's been serialized in the resx file to point to Infragistics 15.2 instead of Infragistics 14.1?

I’d appreciate any help. Thanks!