【发布时间】:2010-02-15 12:53:52
【问题描述】:
我找到了一个很棒的图书馆here。它是在 Windows 窗体中完成的 AeroWizard,它可以优雅地处理 Aero Basic。令人敬畏的是它应该有设计师的支持。当我尝试在表单设计器中打开示例中的任何 WizardPages 时,我收到此错误:
Could not find type 'Aero.Controls.MainInstructionsLabel'. 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.
我的项目中引用了该库Aero.Controls 和Aero.Wizard,所以我不太确定出了什么问题。
我是否需要 GAC 注册程序集才能获得设计人员支持?
编辑: 我刚刚检查了反射器,这是参考
Aero.Controls
mscorlib
系统
系统.绘图
System.Windows.Forms
user32.dll
Aero.Wizard
mscorlib
系统
系统.绘图
System.Windows.Forms
dwmapi.dll
gdi32.dll
user32.dll
uxtheme.dll
除了本机 Dll 之外,我没有什么关心的,但我看不出这些会如何阻止表单在设计器中呈现。
这是设计师的屏幕截图: alt text http://www.ceasetopanic.com/wp-content/uploads/2010/02/compile-error.jpg
【问题讨论】: