Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET : The compiler failed with error code -532462766

I currently work on an ASP.NET application that contains 2 projects in its solution: a Web Application and a WebAPI. (let’s call them “projectWeb” and “projectAPI” )

I‘ve tried to include a reference to “projectWeb” into “projectAPI”.

When I build “projectAPI” the browser displays this message :

Compilation Error

Description: An error occurred during the compilation of a resource required to >service this request. Please review the following specific error details and >modify your source code appropriately.

Compiler Error Message: The compiler failed with error code -532462766.

When I delete the reference there is no error anymore.

What can I do?

Thank you all

Laurent

like image 836
laurentmasset Avatar asked Mar 17 '16 12:03

laurentmasset


1 Answers

Realize this is an old question but wanted to share some info that helped me resolve this same error. I couldn't narrow down the issue to which .dll was causing the problem but everything resolved once the nuget packages were removed. Something was causing the error so removing and re-adding packages did the trick. Spent countless hours on this error so hope this helps someone else who runs across it.

like image 174
DannyC Avatar answered Nov 19 '22 00:11

DannyC