经过计算机崩溃我的Visual Studio 2010将不会加载的程序集 [英] After a computer crash my Visual Studio 2010 will not load an assembly

查看:129
本文介绍了经过计算机崩溃我的Visual Studio 2010将不会加载的程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑筛选蓝色。我的电脑重新启动后,我跑我的Silverlight应用程序,并得到这个错误:




无法加载文件或程序集AsyncCtpLibrary或之一其依赖。参数不正确。 (异常来自HRESULT:80070057(E_INVALIDARG))




其实,我有一对夫妇对RIA服务不能够生成的代码,因为错误的目录名称有无效字符。我清理,截至由bin和OBJ目录中删去。很明显,有一些损坏。



我拉着DLL回落,并设置它来复制本地,我仍然得到这个错误,只有当我运行该程序。 。我不知道这是否是一些地方的DLL是在GAC或类似的东西,腐败



编辑:重新安装异步CTP DLL和检查GAC后,我,决定把对集绑定日志记录这给了我这个信息(有很多一起)




错误:未能完成$的设置b $ b总成(HR = 80070057)。探测
终止。



解决方案

好了,所以我想它了。我不得不删除这个目录中的所有内容:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\


My computer blue screened. After my computer restarted, I ran my Silverlight application and got this error:

Could not load file or assembly 'AsyncCtpLibrary' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

I actually got a couple of errors regarding RIA services not being able to generate code because a directory name had invalid characters. I cleared that up by deleting everything in the bin and obj directories. Clearly there is something corrupt.

I've pulled the DLL back down and set it to copy local and I still get that error, only after I run the program. I'm not sure if it's something where the DLL is corrupt in the GAC or something like that.

EDIT: After reinstalling the Async CTP DLL and checking the GAC, I decided to turn on Assembly Binding logging which gave me this information (along with a lot more).

ERR: Failed to complete setup of assembly (hr = 0x80070057). Probing terminated.

解决方案

Okay, so I figured it out. I had to delete everything in this directory: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\

这篇关于经过计算机崩溃我的Visual Studio 2010将不会加载的程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆