我正在开发一个 SL4 OOB 应用程序,该应用程序突然开始出现死机白屏。
如果我尝试在“浏览器中”运行它并检查控制台,我可以看到错误 2105:“无法加载应用程序的先决条件”,但任何地方都没有关于它的信息。
我的断点都没有被击中。即使使用 F11(步入)启动应用程序也无济于事。
我可以很好地运行其他 Silverlight 项目,因此它不是运行时。我什至将源代码复制到另一个项目中,看看是否有帮助,但无济于事。
有谁知道我如何开始解决这个问题?
I'm developing a SL4 OOB application that has suddenly started giving me the white screen of death.
If I try to run it 'in-browser' and check the console I can see the error 2105 : 'Failed to load pre-requisites for the application' but there's very little info about it anywhere.
None of my breakpoints get hit. Even starting the app with F11 (step into) doesn't get me anywhere.
I can run other Silverlight projects just fine so it's not the runtime. I've even copied the source into another project to see if that might help but to no avail.
Does anyone have any ideas how I might get started fixing this?
发布评论
评论(2)
我自己也见过这种情况,这很痛苦。
我要做的就是系统恢复,卸载所有 Silverlight 和 Blend 的痕迹,然后重新安装它们。然而,我也刚刚安装了 Silverlight 5 RC,它与 Telerik 不能很好地配合,可能是问题所在。
这里还有一些有关此错误的信息:
http://connect.microsoft.com/VisualStudio/feedback/details/530074/unhandled-error-in-silverlight-application-2105-when-building-as-an-x86-configuration。
这是你的问题吗?
I have seen this myself and it was a pain..
What I had to do was a system restore, de-installed all traces of Silverlight and Blend and then reinstalled them all. However I had also just installed Silverlight 5 RC which didn't play nicely with Telerik and might have been the problem.
There is also some information about this error here:
http://connect.microsoft.com/VisualStudio/feedback/details/530074/unhandled-error-in-silverlight-application-2105-when-building-as-an-x86-configuration.
Is this your problem?
该死,我讨厌回答自己的问题,但问题很模糊。
不知何故,我设法通过 Nuget 包在我的 Silverlight 项目中获得常规的 .Net 引用。就是这样。
卫生部!
Damn it, I hate answering my own questions but the problem was quite obscure.
Somehow, I managed to get a regular .Net reference in my Silverlight project through a Nuget package. That was it.
DOH!