简体   繁体   中英

visual studio 2010 could not load file or assembly

I know there is plenty of question on that subject, but I didn't find any useful answer about my problem.

I got a project from a co-worker using mercurial. Now when i open the project I cannot open any C# file and I get the following message:

Could not load file or assembly, 'Microsoft.MSXML, Version =8.0.0.0,Culture = Neutral, PublicKeyToken=b03ff5f7f11d50a3a' or one of its dependencies. The file specified is unfindable.

Any idea? I don't know exactly what is in the code, in fact I've never see or programmed the code until now, but I know the code is working and my co-worker manage to make a installer and the software is working fine.

尝试安装Microsoft Core XML Services解决此问题

There was a problem inside Visual Studio 2010.

My resolution was:

  1. I tried to create a basic C# applicaiton but the same error message pop-up

  2. I tried to re-open a old project that I used to work on but the same error message pop-up.

So I used the following utility . I made a fresh install and how everything is working. I don't think it is the most efficient solution , but it worked.

Simply delete all folders in this path then rebuild your project.

C:\\Users\\'username'\\AppData\\Local\\Temp\\Temporary ASP.NET Files\\root

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM