Decrease Font Size
Increase Font Size
   BLOG

Could not load file or assembly Microsoft.WebPages.Configuration

Could not load file or assembly Microsoft.WebPages.Configuration|

Microsoft.WebPages.Configuration

 

This problem happen several weeks ago. I was playing with the MVC code on my Windows XP machine and I kept getting the following error. I did a lot of researches but couldn't find the correct solution. Then I try to run some application using .NET Framework 4.0 and getting the same error. Then it click my mind that the error has nothing to do with my MVC version or dlls, so after reinstalling the .NET Framework 4.0, the error went away. I still haven't figure out what's the cause of this error, but, hey, it working now.

Could not load file or assembly 'Microsoft.WebPages.Configuration, Version=1.0.0.0, Culture=neutral, publickeytoken=31bf3856ad364e35' or one of its dependencies.

Solution: After trying all the solutions I found on Google, the best solution is to reinstall the .NET Framework 4.0