无法在WinForms设计器中选择Infragistics控件 [英] Cannot select Infragistics controls in WinForms designer

查看:217
本文介绍了无法在WinForms设计器中选择Infragistics控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从2006年到2011年将一个项目的Infragistics控件升级了.

I just upgraded the Infragistics controls on a project from 2006 to 2011.

现在,如果我打开包含任何Infragistics控件的表单的设计器,则Infragistics控件将显示在表单设计器下方的单独面板中,并且我无法在设计视图中选择它们的对应项.

Now, if I open the designer for a form containing any Infragistics controls, the Infragistics controls appear in a separate panel underneath the form designer, and I am unable to select their counterparts in the design view.

如果我在设计器中单击Infragistics控件,它将改为选择容器控件.

If I click on an Infragistics control in the designer, it select the container control instead.

但是,如果单击下部面板中的控件,我仍然可以编辑属性,Visual Studio会将其识别为UltraCombo.此外,所有控件仍将显示在工具箱"中,但是如果我尝试向表单添加一个新控件,它将进入下部面板.

However, if I click the control in the lower panel, I can still edit the properties, and Visual Studio recognizes it as a UltraCombo. Also, the controls all still appear in the Toolbox, but if I try to add a new one to the form, it goes to the lower panel.

我的同事在他的计算机上安装了新版本的Infragistics,并从源代码管理获得了我的最新更改,但他没有遇到问题.

My coworker installed the new version of Infragistics on his computer and got my latest changes from source control, and he does not have the issue.

我的问题听起来与此问题类似基础设施控制的奇怪设计问题但是,OP的参考材料不再可用.

My issue sounds similar to this question Strange Design Problems With Infragistics Controls however the OPs reference material is no longer available.

推荐答案

回答我自己的问题,因为我在将问题提交给SO之前已将其解决.

Answering my own question since I fixed it before submitting the questions to SO.

简而言之,这是我的项目参考...

In short, it was my project references...

我决定检查另一个问题中提到的项目参考.我指的是不在GAC中的DLL的副本.我更改了引用以指向GAC,一切都很好.

I decided to check out my project references as mentioned in the other question. I was pointing to copies of the DLLs that were not in the GAC. I changed the references to point to the GAC and all was well.

我之所以指向非GAC DLL,是因为:我喜欢将DLL保留在与项目相同的文件夹结构中的源代码控制的"lib"文件夹中.这样,其他开发人员就可以获取最新版本,并且他们拥有项目所需的所有正确版本的DLL,而不必担心仅仅为了进行较小的构建而安装它们.显然,Infragistics库不喜欢这样.我的猜测是与许可有关.不过很奇怪,我的计算机已获得许可,但非GAC DLL无法正常工作.

The reason I was pointing to non-GAC DLLs is: I like to keep DLLs in a source controlled "lib" folder that is in the same folder structure as the project. That way other developers can just grab the latest and they have all the correct versions of the DLLs that they need for the project and don't have to worry about installing them just to do a minor build. Apparently, the Infragistics library does not like that. My guess is it has to do with licensing. It's strange though, my computer was licensed, but the non-GAC DLLs didn't work.

这篇关于无法在WinForms设计器中选择Infragistics控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆