[英]KryptonForm not showing in designer - Visual Studio 2013
I've added the toolkit.dll as a reference, inherited KryptonForm instead of Form , successfully built the application, everything is working fine, but designer mode fail to display the form. 我已经添加了toolkit.dll作为参考,继承了KryptonForm而不是Form ,成功构建了该应用程序,一切正常,但是设计器模式无法显示该表单。 I am getting this error: 我收到此错误:
Could not find type 'ComponentFactory.Krypton.Toolkit.KryptonForm'. 找不到类型'ComponentFactory.Krypton.Toolkit.KryptonForm'。 Please make sure that the assembly that contains this type is referenced. 请确保引用了包含此类型的程序集。 If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU. 如果此类型是开发项目的一部分,请确保已使用当前平台或任何CPU的设置成功构建了该项目。
I found the issue: I renamed the dll thinking that will not affect in any way the application, and it didn't ! 我发现了问题:我重新命名了dll,以为它不会以任何方式影响应用程序,但是并没有! But somehow affects the designer: when I renamed the dll back to ComponentFactory.Krypton.Toolkit.dll Visual Studio's designer worked aswell. 但是以某种方式影响了设计器:当我将dll重命名回ComponentFactory.Krypton.Toolkit.dll时, Visual Studio的设计器也起作用。 I am curious why behaves this way 我很好奇为什么会这样
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.