为什么VS2005无法更改图像属性? [英] Why is VS2005 failing to change Image properties?

查看:96
本文介绍了为什么VS2005无法更改图像属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS2005中的项目不再允许我在设计时为项目中的任何控件更改图像属性。其他项目,包括同一解决方案中的项目,都可以。


对于失败的项目,当我点击任何Image属性(BackgroundImage,InitialImage,Error Image等)上的省略号时,我得到一个错误框,上面写着"已经添加了具有相同密钥的项目"而不是通常的图像选择对话框。


更改图像等在运行时很好,应用程序似乎完全按预期工作,但此项目的设计时环境只有一个问题。


有人能给我一个问题所在的线索吗?

解决方案

你好Gareth


假设您正在讨论使用WPF或Silverlight项目(因为这是该主题的论坛),Visual Studio 2005的WPF工具的CTP是一个非常早期的预先发布,不受支持。我们不建议继续使用它,因为
它包含许多错误和问题,直到Visual Studio 2008中WPF和Silverlight设计器的第一个受支持版本才得到解决。 


<如果您要从Visual Studio 2005迁移,我强烈建议您查看新的Visual Studio 2010 WPF和Silverlight设计器,它具有许多有用的功能,我们相信您会发现它们很有用。设计师可以在所有Visual
Studio 2010 SKU中使用,包括免费的Express版本。


您可以在这里找到相关信息


http://blogs.msdn .com / wpfsldesigner / pages / faq-for-wpf-and-silverlight-designer-in-visual-studio-2010.aspx


如果您正在寻求帮助不同的UI技术,请告诉我们,以便我们指导您找到合适的论坛。


问候


Mark Wilson-Thomas


 


My project in VS2005 no longer allows me to change the image property at design time for any of the controls within the project. Other projects, including projects within the same solution, are fine.

With the failing project, when I click on the ellipsis on any Image property (BackgroundImage, InitialImage, Error Image, etc) I get an error box saying "An item with the same key has already been added" instead of the usual image selection dialog.

Changing images etc is fine at run time and the application appears to work totally as expected, but the design time environment for this project only has an issue.

Can anyone give me a clue as to where the problem may lie?

解决方案

Hi Gareth

Assuming you are talking about working with WPF or Silverlight projects (since this is the forum for that topic), the CTP of WPF tools for Visual Studio 2005 was a very early pre-release and is not supported. We do not recommend its continued use, because it contains many bugs and issues that were not resolved until the first supported release of the WPF and Silverlight designer in Visual Studio 2008. 

If you are moving from Visual Studio 2005 I highly recommend that you check out the new Visual Studio 2010 WPF and Silverlight designer which has many useful capabilities which we believe you will find useful. The designer is available in all the Visual Studio 2010 SKUs, including the free Express Editions.

You can find information on it here

http://blogs.msdn.com/wpfsldesigner/pages/faq-for-wpf-and-silverlight-designer-in-visual-studio-2010.aspx

If you are looking for help with a different UI technology, please let us know so we can direct you to the right forum for help with that.

Regards

Mark Wilson-Thomas

 


这篇关于为什么VS2005无法更改图像属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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