如何让 Silverlight 4 Tools 在 Web Developer 2010 Express 中工作?

发布于 2024-08-29 10:35:42 字数 1332 浏览 3 评论 0原文

我安装了Windows 7

然后,我使用 Web Developer 2010 Express 从此处 安装了 Web Developer 2010 Express >网络平台安装程序。

然后,我从这里安装了 4 月 15 日发布的 Silverlight 4 Toolkit

然后我添加了这个参考

替代文本http://www.deviantsart。 com/upload/ijk0lm.png

然后在我的 XAML 中,我像这样引用它,但它给我没有智能感知并告诉我缺少程序集引用

替代文本 http://www.deviantsart.com/upload/cd4vrj.png

更新:

xmlns:tk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"

也不起作用,即使在重建后

我必须做什么才能在 Web Developer 2010 Express 中使用 Silverlight 4 工具包?

附录:

所以我在 Web 中使用 Silverlight 3 再次测试了它在另一台计算机上运行 Developer Express 2008,它确实按照我记忆中的方式工作,那么为什么它在 Silverlight 4 中不按这种方式工作以及我需要更改什么才能使其工作?

替代文本 http://www.deviantsart.com/upload/14eo9k7.jpg

I installed Windows 7.

I then installed Web Developer 2010 Express from here with the Web Platform Installer.

I then installed the the April 15 release of Silverlight 4 Toolkit from here.

I then added this reference:

alt text http://www.deviantsart.com/upload/ijk0lm.png

Then in my XAML, I reference it like this but it gives me no intellisense and tells me that I am missing an assembly reference:

alt text http://www.deviantsart.com/upload/cd4vrj.png

update:

xmlns:tk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"

doesn't work either, even after a rebuild

What do I have to do to use the Silverlight 4 Toolkit in Web Developer 2010 Express?

Addendum:

So I tested it out again with Silverlight 3 in Web Developer Express 2008 on another computer and it does indeed work the way I remember, so why doesn't it work the this way in Silverlight 4 and what do I need to change to get it to work?:

alt text http://www.deviantsart.com/upload/14eo9k7.jpg

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

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

发布评论

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

评论(2

雪花飘飘的天空 2024-09-05 10:35:42

您应该添加对 Microsoft.Windows.Controls 而不是 System.Windows.Controls.Toolkit 的引用,然后这

xmlns:controls="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls"

<controls:DockPanel />

You should add a reference to Microsoft.Windows.Controls not System.Windows.Controls.Toolkit then this

xmlns:controls="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls"

<controls:DockPanel />
半岛未凉 2024-09-05 10:35:42

好的,我让它与这个命名空间一起工作:

xmlns:tk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"

但不幸的是,它只给了我部分智能感知 引出了这个问题

ok I got it to work with this namespace:

xmlns:tk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"

but it unfortunately only gives me partial intellisense which leads to this question.

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