After a computer crash my Visual Studio 2010 will not load an assembly

后端 未结 5 507
感情败类
感情败类 2020-12-29 03:22

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

Could not load file or assembly \'AsyncC

相关标签:
5条回答
  • 2020-12-29 03:54

    Simply delete temporary file in Temporary folder. enter %temp% in Run command to open temp folder and then delete all file and folder. After this your problem will resolved.

    0 讨论(0)
  • 2020-12-29 04:02

    Delete all files from the following folders and try again:

    C:\Users[username]\AppData\Local\Temp\Temporary ASP.NET Files\

    .NET 4.0

    %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\

    .NET 2.0

    %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ %SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\

    0 讨论(0)
  • 2020-12-29 04:03

    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\

    0 讨论(0)
  • 2020-12-29 04:06

    If you think your GAC has become corrupted, I suppose you could take a look at the DLL in there. I bet you could find a checksum for the dll online, or re-download it. I'd follow Reed's advice, though -- that seems more likely to treat the root issue.

    0 讨论(0)
  • 2020-12-29 04:13

    Have you tried starting devenv in safemode?

    devenv.exe /SafeMode
    

    If this works you can try resetting the settings files to:

    devenv.exe /ResetSettings
    

    Instead of repairing Visual Studio you reset the user data back to their defaults with:

    devenv.exe /resetuserdata
    
    0 讨论(0)
提交回复
热议问题