如何停止 Blend 2.5 June Preview 在 SL1.0 XAML 上将 Canvas.ZIndex 替换为 Panel.ZIndex?

发布于 2024-07-06 06:29:07 字数 356 浏览 5 评论 0原文

我有一个使用 Blend 2.5 编辑的 Silverlight 1.0 应用程序。 每当我在设计器中触摸具有 Canvas 属性(例如 Canvas.ZIndex="1")的 UIElement 时,当它更新 XAML 时,它会将 Canvas 前缀更改为 Panel ,留下Panel.ZIndex="1",导致页面加载失败。

我该如何让它停止疯狂!?!

我已经卸载了 2.5 并重新安装了较旧的 Blend 2 预览版,这更好了,但是与 VS2k8 的兼容性不太好,而且我时不时也在处理一些 SL2.0 项目以及 WPF 应用程序,两者其中我更喜欢 Blend 2.5。

I have a Silverlight 1.0 application that I edit with Blend 2.5. Whenever I touch a UIElement in the designer that has a Canvas attribute such as Canvas.ZIndex="1", when it updates the XAML, it changes the Canvas prefix to Panel, leaving Panel.ZIndex="1", causing the page to fail to load.

How do I make it stop the insanity!?!

I have uninstalled 2.5 and reinstalled an older Blend 2 preview and that was better, but then compatibility with VS2k8 was not as good, and I'm also working on some SL2.0 projects from time to time, as well as WPF apps, both of which I prefer Blend 2.5 for.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅笑轻吟梦一曲 2024-07-13 06:29:07

看起来这是 2.5 中报告的错误,

http://social.expression.microsoft.com/forums/en-US/blend/thread/db02b75c-922e-4de1-8943-bd525d9862c0/

他们建议的解决方法是对 SL1 使用 2.0。 不过,我预计很快就会发布 Blend 的新版本,因为 SL2 可能会在今年(10 月底)PDC 前后发布。

Looks like it's a reported bug in 2.5,

http://social.expression.microsoft.com/forums/en-US/blend/thread/db02b75c-922e-4de1-8943-bd525d9862c0/

Their suggested workaround is to use 2.0 for SL1. Still, I expect there will be a new version of Blend released fairly shortly, since SL2 is likely to be released around PDC this year (end of October).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文