如何安装 XamlPad?

发布于 2024-07-19 18:02:15 字数 521 浏览 2 评论 0原文

这听起来很愚蠢,因为每个人似乎都理所当然地认为 XamlPad 就在那里,包括 有关 XamlPad 的 MSDN 文章

但我已经安装了 Visual Studio 2008,据我所知,它安装了 .NET 3.5 SDK(怎么可能不安装?),它应该包含 XamlPad。 但我的“开始”菜单或电脑上的任何位置都没有 XamlPad.exe。 我什至从命令行执行了 dir /s xamlpad.exe,以确保问题不是因为 Windows 索引服务无法像往常一样看到其前面的内容。 没有骰子。

我想向我的同事演示一些 XAML,但如果可以的话,我不想使用 Visual Studio 中糟糕的 XAML 设计器。 如何获取 XamlPad 的副本以安装到我的电脑上?

我正在运行 Vista 64 位,如果这有什么区别的话(应该不会,但你永远无法判断)。

This is going to sound silly, because everyone seems to take it for granted that XamlPad is just there, including the MSDN article about XamlPad.

But I've installed Visual Studio 2008, which AFAIK installs the .NET 3.5 SDK (how could it not?), which is supposed to include XamlPad. But there is no XamlPad.exe in my Start Menu or anywhere on my PC. I've even done a dir /s xamlpad.exe from the command line, to make sure the problem isn't with the Windows Indexing Service not seeing what's in front of its face like usual. No dice.

I'd like to demo some XAML to my co-workers, but I don't want to use the godawful XAML designer in Visual Studio if I can help it. How do I get a copy of XamlPad to install onto my PC?

I'm running Vista 64-bit if that makes any difference (it shouldn't, but you never can tell).

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

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

发布评论

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

评论(4

软糯酥胸 2024-07-26 18:02:15

MSDN 页面底部有这样的评论:

开始菜单快捷方式不是
VS2008安装

程序二进制文件已安装
但是在 Program Files\Microsoft 中
SDKs\Windows\v6.0A\bin

我刚刚检查了我的机器,它就在那里。

对于较新版本的 Windows 和 Visual Studio,SDK 版本将为 7 或 8。我的计算机(带有 Visual Studio 2013 的 Windows 8)上的最新版本是 v8.1A,它位于 Program Files ( x86) 在 64 位版本的操作系统上。 所以你需要查看:

C:\Program Files (x86)\Microsoft SDKs\Windows

并查看您安装的版本。

该 MSDN 页面上还有一个指向作者博客上的新版本的链接。

At the bottom of the MSDN page there's this comment:

The Start Menu shortcut is not
installed by VS2008

The program binary is installed
however in Program Files\Microsoft
SDKs\Windows\v6.0A\bin

I've just checked on my machine and it's there.

For newer versions of Windows and Visual Studio the SDK version will be 7 or 8. The latest on my machine (Windows 8 with Visual Studio 2013) is v8.1A and it's in Program Files (x86) on 64 bit versions of the OS. So you will need to look in:

C:\Program Files (x86)\Microsoft SDKs\Windows

and see which version you have installed.

There's also a link on that MSDN page to the new version on the author's blog.

分開簡單 2024-07-26 18:02:15

Kaxaml 是 XAMLPad 的一个很好的替代品,甚至是它的一个很好的替代品。

Kaxaml is a good alternative for XAMLPad, or even a good replacement for it.

迷你仙 2024-07-26 18:02:15

尝试 XamlPadX。 最新版本是 XamlPadX4.0

Try XamlPadX. The latest version is XamlPadX4.0.

泼猴你往哪里跑 2024-07-26 18:02:15

您是对的,XamlpadX 和 Kaxaml 都不支持事件(处理程序在哪里?)或类引用(没有隐藏代码)。

您可能错过了这些编辑器的用途 - 它们在处理“纯”xaml 时非常有用 - 在大型项目/解决方案之外找出样式、模板等。 一旦完成并令您满意,您就可以将 XAML 合并回项目中。

You are correct, both XamlpadX and Kaxaml do not support events (where would be the handler?) or class references (there is no code-behind).

You may be missing the purpose of these editors - they are very useful when dealing with 'pure' xaml - figuring out styles, templates and the like, outside of a large project / solution. Once complete to your satisfaction you incorporate your XAML back into the project.

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