VS2010 - 设计师失败了。 [英] VS2010 - designer fails.

查看:80
本文介绍了VS2010 - 设计师失败了。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在vs2010中打开表单的设计器时,我收到"类型'xxxx'没有名为'_ image'的对象'""   _image位于项目/资源中。


全天跟踪我的项目我 发现当我删除对另一个程序集的引用(由我写)时,我可以编辑表单,但是再次添加它会回来问题。


当我编辑form.designer时。 cs,intelisense正确显示_image。我无法弄清楚发生了什么......


目标框架4.0两个项目。


Lib - >任何CPU


Exe - > x86


Windows 7 64

解决方案

您好Alex,


什么是类型"xxxx"?它是自定义类型吗?它在哪里?它是否包含名为"_mage"的属性?


删除的程序集中是否有相同的类型?


请问你能分享一下吗?抛出此错误消息的代码?


您是否尝试在设计模式下关闭表单并重建项目?


如果不这样做您是否可以通过
SkyDrive
分享项目?


最诚挚的问候,


When I try to open a form's designer in vs2010 , i receive "The type 'xxxx' has no property named '_mage'"" .  The _image is located in project/resouces.

Tracing my project over all the day I  found that when I remove a reference to another assembly ( wrote by me), I can edit the form, but adding it again the problem comes back.

When I edit my form.designer.cs, intelisense show the _image correctly. I can't figure out what's happening....

Target framwork 4.0 both projects.

Lib -> Any CPU

Exe -> x86

Windows 7 64

解决方案

Hi Alex,

What's the type "xxxx"? Is it a custom type? Where does it locate? Does it contains a property named "_mage"?

Is there any same type in the removed assembly?

Could you please share the line of the code that throw this error message?

Have you tried close the form in the design mode and rebuild the project?

If you don't mind, can you share the project through SkyDrive?

Best Regards,


这篇关于VS2010 - 设计师失败了。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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