ralar
ralar

Reputation: 126

Unable to launch Visual studio 2012: Could not load file or assembly

So I've been having some computer problems recently and had to do a reset in windows 8 - this uninstalls all programs but leaves your files more or less intact. I've been going through and reinstalling everything, and I've found that I can no longer launch visual studio 2012.

I've done a complete reinstall and i've also removed the windows 8 phone SDK which may have been interfering.

When I try to launch VS2012 I get the error message: "Could not load file or assembly 'System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken= or one of it's dependencies. The module was expected to contain an assembly manifest.

Anyone have any ideas?

Upvotes: 0

Views: 1947

Answers (3)

shai
shai

Reputation: 111

Well after losing a day in trying out various options. I took a closer look at the windows updates and uninstalled the ones loaded the day before this problem started. And we are back in action. So if you are in the same boat as me, try uninstalling the updates before trying other stuff.

Upvotes: 0

shai
shai

Reputation: 111

I am having the same problem on win 8 , vs 2012 . The utilities indicate frameworks are correctly installed. Cannot remove and reinstall frameworks from win 8 , have tried reinstalling and repairing studio. Cant see any way out apart from reinstalling the OS. And btw have tried system restore.

Upvotes: 0

jomsk1e
jomsk1e

Reputation: 3625

Please try this:

  1. Download this cleanup tool to uninstall .net framework currently in your system.
  2. Read about clean up tool here.
  3. Download the latest .net framework in here.
  4. Install the framework and reboot.

Upvotes: 1

Related Questions