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
180
Visual Studio 10 designer won't load
posted

In one of our applications, the designer will not load for me on several forms.  I am getting "The variable <> is either undeclared or was never assigned." for two PopupMenuTools (that are both declared and instantiated in InitializeComponent) as well as several "Object reference not set to an instance of an object." that only have "Infragistics.Win.UltraWinToolbars.ToolPropsBase.ResetMaxWidth()" as a call stack.  

I have checked that the Infragistics references are all on the same version (and none are set to copy local) and that there aren't any incorrect entries in  "licenses.licx."  I have tried rebuilding the project/solution (including restarting VS in between).  I unstalled the other "Infragistics.Win" version I had installed, and, reinstalled the problematic version.  I have also confirmed that the correct assemblies are in the GAC.  I still have been unable to load the designer.  A teammate is able to load the forms in question without incident, so it is not a code issue.

Does anyone have any other ideas of what I can check/try? 

Parents
No Data
Reply
  • 48586
    posted

    Hello,

    Could you please let me know the version from which you upgrade your solution, and also the target version to which you want to upgrade. Is your solution was built previously  on Visual Studio 2008 or older ?

    First of all be sure that you have installed the exactly same version (I mean version and service release) like this of yours teammate.

    Also in the actions which you describe that you have done, I have noticed a few little oversights, after you have been checked that all references are updated, you should clean the content of “license.licx” from all Infragistics' entries (if you are using only Infragistics dlls then the license.licx should be empty) and save it, also you should check “Specific Version”, you could set it to false, then close all opened designers of the forms of your solution, clean your solution (right click on your solution in “Solution Explorer”, choose “Clean solution ” from the context menu) and the rebuild your solution. Now if you open the designer of your forms, everything should works. 

    Please let me know if you have any further questions.

Children