User36583972 posted
Hi Adwin Jha,
I have vs 2013, and when I am adding controller in our WebApi Project , getting one error and error details are given below :-
"There was an error running the selected code generator : 'Error loading type library/DLL. (Exception from HRESUT : 0x80029C4A(TYPE_E_CANTLOADLIBRARY))' "
You can try the following way to fixed this error(this issue is more related to Visual Studio).
I finally fixed this by using repair tool of Visual Studio.
Reset via CLI VS settings: vswindexpress /resetuserdata - geoffwebbercross blogpost
Reset via Doc/AppSettings and regedit
Rebuild the project, restart VS, restart computer
Repair tool of Visual Studio.
For more detailed:
Error loading type library/DLL when I try to add file in VS (HRESULT: 0x80029C4A)
https://stackoverflow.com/questions/35454956/error-loading-type-library-dll-when-i-try-to-add-file-in-vs-hresult-0x80029c4a
VS 2013 Error Loading type library when adding a View in MVC
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2f7e207c-8845-402c-b7f2-80467d0af373/vs-2013-error-loading-type-library-when-adding-a-view-in-mvc?forum=visualstudiogeneral
Best Regards,
Yong Lu