Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot unregister type library xxx - cannot load file, check to make sure it's a valid type library

After editing a previously-working solution, visual studio 2010 will no longer compile the project and is giving me the following error:

Cannot unregister type library {library name} - cannot load file, check to make sure it's a valid type library.

I did quite a bit of searching on the web but there was precious little to be found on this error. What can I do to resolve this error?

like image 488
David Avatar asked Jun 20 '13 22:06

David


1 Answers

I have no idea what caused the error, but it turns out the solution was very easy--just close all instances of Visual Studio and then re-open your solution.

like image 60
David Avatar answered Nov 06 '22 22:11

David