本文介绍了创建新的Silverlight应用程序时,Visual Studio 2008挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

尝试创建SilverLight应用程序时,Visual Studio 2008 Professional(SP1)挂起时遇到问题.

Hi there,

I'm having an issue with Visual Studio 2008 Professional (SP1) hanging when I try and create a SilverLight application.

当添加关联的asp.net网站(而不是SilverLight应用程序本身)时,挂起似乎会发生.

The hang appears to happen when adding the associated asp.net web site (rather than the SilverLight app itself).

我首先卸载所有SilverLight位,然后安装Blend 2.5 Preview,然后安装"Visual Studio 2008的Microsoft Silverlight工具Beta 2"

I started by uninstalling all SilverLight bits and then installing Blend 2.5 Preview followed by "Microsoft Silverlight Tools Beta 2 for Visual Studio 2008"

复制步骤:

1)打开VS,文件/新项目/SilverLight应用程序

1) Open VS, File / New Project / SilverLight application

2)在下面的添加Silverlight应用程序"对话框中,选择将新的Web添加到用于托管控件的解决方案中"
注意-如果您选择动态生成HTML测试页以在此项目中托管Silverlight '选项,一切正常.

2) In following 'Add Silverlight Application' dialog, select 'Add a new Web to the solution for hosting the control'
Note - If you select the 'Dynamically generate an HTML test page to host Silverlight within this project' option everything works fine.

3)VS现在挂起Tray通知,表示忙于等待内部操作.摆脱这种状态的唯一方法是使用任务管理器结束任务.关闭错误消息如下:

3) VS now hangs with Tray notification saying it is busy waiting for an internal operation.  The only way to get out of this state is to use Task manager to end task.  The closing error message is as follows:

问题签名:
问题事件名称:AppHangB1
应用程序名称:devenv.exe
应用程序版本:9.0.30729.1
应用程序时间戳记:488f2b50
挂起签名:401a
挂起类型:6400
操作系统版本:6.0.6001.2.1.0.256.1
区域设置ID:2057
其他挂起签名1:4a4c26f940c70d7fa97056c85cafc200
其他挂起签名2:2347
其他挂起签名3:037233ba1878aee215f310f4b6
附加挂起签名4:401a
附加挂起签名5:4a4c26f940c70d7fa97056c85cafc200
附加挂起签名6:2347
附加挂起签名7:037233ba1878aee215f310f4b6a916bb

Problem signature:
  Problem Event Name: AppHangB1
  Application Name: devenv.exe
  Application Version: 9.0.30729.1
  Application Timestamp: 488f2b50
  Hang Signature: 401a
  Hang Type: 6400
  OS Version: 6.0.6001.2.1.0.256.1
  Locale ID: 2057
  Additional Hang Signature 1: 4a4c26f940c70d7fa97056c85cafc200
  Additional Hang Signature 2: 2347
  Additional Hang Signature 3: 037233ba1878aee215f310f4b6a916bb
  Additional Hang Signature 4: 401a
  Additional Hang Signature 5: 4a4c26f940c70d7fa97056c85cafc200
  Additional Hang Signature 6: 2347
  Additional Hang Signature 7: 037233ba1878aee215f310f4b6a916bb

我仍然可以在Blend中创建一个Silverlight项目,然后在VS中对其进行愉快的编辑,但是如果您随后尝试将一个Web项目添加到该解决方案中,则VS会像上面那样挂起.

I can still create a Silverlight project in Blend and then edit it happily in VS, but if you then try to add a web project to the solution, VS hangs as above.

为记录起见,在devenv.exe进程中cpu活动几乎不存在,所以我想这是闲置"?

For the record the cpu activity is almost non-existant on the devenv.exe process, so I guess this is an 'idle hang' ?

无论如何,我现在已经取消安装并重新安装了几次,所以如果有人可以帮助我,我将非常感激.

Anyway, I've now un and reinstalled several times so if anyone can helpout I'd be extremely grateful.

最诚挚的问候

John

推荐答案


这篇关于创建新的Silverlight应用程序时,Visual Studio 2008挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 07:17