这个MSDN article清楚地描述了安装WPF Performance Suite的过程,但对Windows 8.1用户提出了一个巨大的警告 .
处理:
-
安装Windows SDK后,在“开始”菜单上,选择“所有程序”,“Microsoft Windows SDK v7.1”,然后选择“工具” .
-
在“工具”下,单击“安装Windows性能工具包” . 出现设置向导 .
所以,这是我的一些问题:
-
首先,有一个Windows 8.1 SDK . 这个 does not 包含WPF性能套件?
-
其次,他们删除了旧的开始菜单,我在Windows 8.1中没有看到上述安装链接...所以如果我有7.1 SDK,呃, where 是安装程序吗?
-
第三,WPF性能套件是否来自7.1 even work ,带有/在Windows 8.1中?
这是 so annoying ,它让我发疯 .
1 回答
我设法在
Windows 10
下使用.NET 4.5 WPF app
完成所有工作 .我认为这也适用于
Windows 8.1
. 如果没有,则始终使用后备选项升级到Windows 10 .按照Microsoft在Where to Download WPF Performance Suite? (Perforator, Visual Profiler)的说明进行操作 . 您需要安装应用程序及其时区补丁 .
您必须运行WPF配置文件应用程序
before
才能运行目标应用程序 .尝试将目标应用程序作为
Administrator
运行 . 它需要提升权限,否则它不会出现在Select Process
对话框中 .如果您无法将目标应用程序作为
Administrator
运行,那么您仍然可以使用Actions..Launch Process
来启动它 .