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
200
Upgrading 2006 V1 to 2012 V2
posted

Hi, please bare with me as I try to explain our problem and how we got there:

Symptoms: Infragistics controls (WinForm 2012 V2) are not appearing in Visual Studio design view. Icons for each control are appearing in a pane below the form image (where timer controls normally go, or other controls with no visual representation).

How we got there:

We had a suite of applications in .Net 1.1 with Infragistics 2006.1 WinForms. The apps worked and the design view in visual studio showed a form with the rendered controls.

We upgraded to .Net 4 & Infragistics 2011.1. This was straight forward and the forms were rendered correctly in design view.

I then investigated Automated UI Testing and decided to upgrade to Infragistics 2012.2 as it has much better support. I decided to use the strongly typed, version number free versions of the assemblies.  This upgrade was again straight forward. Application runs fine, but when we go into the design view none of the infragistics controls are rendered.

I have tried adding 2012.2 controls to a new project and it works as expected.

More info:

In .Net 1.1 the form code is all piled into 1 file (no such thing as partial classes), and this was kept as we were doing a vanilla upgrade. I have tried retrospectively creating an x.designer.cs file and putting the Dispose and InitializeComponents methods into it.

Going back through the different versions I can find the checkin where the problems started occurring. It was the checkin for the 2012.2 assembly upgrade. There was no specific code changes. There was changes to the csproj file for the references to the infragistics components. These were from assemblies with the version numbers as part of the name, 2011.1 (11.1.20111.2111), upgraded to 2012.2 (12.2.20122.1006) without the version number in the assembly name.

Also we are getting the infragistics components from an internal NuGet repository. I don't think this is strictly relevant, but I'm lost at the moment.

Any help would be appreciated.

Thanks

David

Parents Reply Children
No Data