孙展波:实现.NET无限潜力

Realize .NET Potential (中文版)
随笔 - 430, 评论 - 12203, 引用 - 54

导航

关于

贴子以"现状"提供且没有任何担保也没有授予任何权利。
计数器(2005/12/8起).点击阅读我的Blog In English

标签

每月存档

最新留言

广告

 

DEV210的课程中使用的例子使用的都是基于刚刚发布的WinFx之September CTP。以下为在您的机器上安装这一版本的步骤。

  1. 假定您已经安装了Visual Studio 2005 Beta;
  2. 下载并安装Microsoft? Pre-Release Software WinFX Runtime Components - September CTP;
  3. 下载并安装Microsoft WinFX? Software Development Kit for the WinFX Runtime Components September 2005 CTP(其中包含了最新的XamlPad,是学习Xaml的有力工具。相关Blog
  4. 下载并安装Microsoft Visual Studio Extensions for WinFX September CTP

至此您可以使用VS2005进行WPF的开发。

打印 | 张贴于 2005-09-16 01:06:00 | Tag:Tech•Ed  WPF/SilverLight

留言反馈

#回复: Step by Step安装WinFx的September CTP 编辑
我也报那个错,以下是出错信息:请高手帮忙看下~~~~
E:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>mdbg xamlpad.exe
MDbg (Managed debugger) v2.0.50727.312 (rtmLHS.050727-3100) started.
Copyright (C) Microsoft Corporation. All rights reserved.

For information about commands type "help";
to exit program type "quit".

run xamlpad.exe
STOP: Unhandled Exception thrown
Exception=System.IO.FileNotFoundException
_fileName="PresentationFramework, Version=3.0.0.0, Culture=neutral, Publ
icKeyToken=31bf3856ad364e35"
_fusionLog="=== 预绑定状态信息 ===
日志: 用户 = CSST\zmsx
日志: DisplayName = PresentationFramework, Version=3.0.0.0, Culture=neutral, Pub
licKeyToken=31bf3856ad364e35
(Fully-specified)
日志: Appbase = file:///E:/Program Files/Microsoft SDKs/Windows/v6.0/Bin/
日志: 初始 PrivatePath = NULL
调用程序集: XamlPad, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad
364e35。
===
日志: 此绑定从 default 加载上下文开始。
日志: 未找到应用程序配置文件。
日志: 使用 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config
的计算机配置文件。
日志: 策略后引用: PresentationFramework, Version=3.0.0.0, Culture=neutral, Publi
cKeyToken=31bf3856ad364e35
日志: 试图下载新的 URL file:///E:/Program Files/Microsoft SDKs/Windows/v6.0/Bin/
PresentationFramework.DLL。
日志: 试图下载新的 URL file:///E:/Program Files/Microsoft SDKs/Windows/v6.0/Bin/
PresentationFramework/PresentationFramework.DLL。
日志: 试图下载新的 URL file:///E:/Program Files/Microsoft SDKs/Windows/v6.0/Bin/
PresentationFramework.EXE。
日志: 试图下载新的 URL file:///E:/Program Files/Microsoft SDKs/Windows/v6.0/Bin/
PresentationFramework/PresentationFramework.EXE。
"
_maybeFullPath=<null>
_className=<null>
_exceptionMethod=<null>
_exceptionMethodString=<null>
_message="未能加载文件或程序集“PresentationFramework, Version=3.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到
指定的文件。"
_data=<null>
_innerException=<null>
_helpURL=<null>
_stackTrace=array [48]
_stackTraceString=<null>
_remoteStackTraceString=<null>
_remoteStackIndex=0
_dynamicMethods=<null>
_HResult=-2147024894
_source=<null>
_xptrs=0
_xcode=-532459699

This is unhandled exception, continuing will end the process
IP: 10 @ XamlPad.XamlPadMain.Main - MAPPING_EXACT
[p#:0, t#:0] mdbg>
2007-03-17 20:14:00 | [匿名:zmsx]
#re: Step by Step安装WinFx的September CTP 编辑
运行xamlpad.exe出现异常,点调试,用vs2005打开
"Version mismatch. BAML stream has version number '0.96' but parser can read only version '0.94'."

是不是和上面的朋友一样得错呀?怎么回事哦
2006-10-13 23:00:00 | [匿名:Sun]
#re: Step by Step安装WinFx的September CTP 编辑
你试试这样做:
运行 CMD

然后运行这个.自己修改一下路径:
C:\Program Files\Microsoft SDKs\WinFX\bin>mdbg xamlpad.exe

不知道这样输出的出错信息是否可以多一点.

记得当时可以看到详细的信息的.不过不知道是不是用这个工具了.忘了.唉...

你试试吧.

还有.我又看了一下 DASM 和那个 XAML 文件没有关系的.代码里面都做 TRY..CATCH 了.不会有那个问题.

估计是其他地方.最好你能得到出错的具体位置.
2005-09-22 22:10:00 | [匿名:学生一族]
#re: Step by Step安装WinFx的September CTP 编辑
装了RC,看来只好等下一个CTP了
2005-09-22 00:09:00 | [匿名:hawk]
#re: Step by Step安装WinFx的September CTP 编辑
我WinFxSDK的安装路径是在E盘的,会不会跟这个有关系呢?而且我也试过创建了一个空的XamlPad_Saved.xaml文件,还是不对。那位大虾知道,帮忙解决一下。
2005-09-21 20:14:00 | [匿名:菜鸟]
#re: Step by Step安装WinFx的September CTP 编辑
郁闷了.不知道.

你可以用反编译器看看,记得当时看得时候的意思是,在创建那个 C:\Program Files\Microsoft SDKs\WinFX\bin\XamlPad_Saved.xaml 文件的时候,如果失败就会报那个错误.

你可以检查一下是否是安装问题.或者权限问题.你的用户权限不够?

昨天装完都没有看过那.哇塞.界面已经比以前改进了许多.呵呵.
2005-09-21 19:42:00 | [匿名:学生一族]
#re: Step by Step安装WinFx的September CTP 编辑
我也装了,但是现在xamlpad启动就报错,An unhandled execption("System.IO.FileNotFoundException") occurred in XAMLPAD.exe。请问是什么原因啊,怎么解决呢?
2005-09-21 15:49:00 | [匿名:菜鸟]
#re: Step by Step安装WinFx的September CTP 编辑
OK.写完的时候.我虚拟机里的最后一步也已经完成.

谢谢展波写的安装步骤说明.

睡觉咯.

祝愿展波北京 TECH2005 也一切顺利.
2005-09-20 22:50:00 | [匿名:学生一族]
#re: Step by Step安装WinFx的September CTP 编辑
对,您必须使用VS 2005 Beta2.
2005-09-19 02:21:00 | [匿名:孙展波]
#re: Step by Step安装WinFx的September CTP 编辑
我也有同样的问题,今天装了VS2005 RC,发现装不上WinFX RunTime,不知是否是因为版本不兼容?
2005-09-18 20:05:00 | [匿名:怀沙]
#re: Step by Step安装WinFx的September CTP 编辑
Hi,Zhanbo,我安装了VS 2005 RC,这个FinFX与RC好像不兼容吧
2005-09-17 12:14:00 | [匿名:Microtoby]
对不起,目前本随笔不允许发表新评论.

Powered by: Joycode.MVC引擎 0.5.2.0