ASP.NET: compiler not with error code -532462766

I am currently working on an ASP.NET application that contains 2 projects in its solution: a web application and WebAPI. (allows you to call them "projectWeb" and "projectAPI")

I tried to include a link to "projectWeb" in the "projectAPI".

When I create "projectAPI", the browser displays this message:

Compilation error

Description. An error occurred while compiling the resource needed to> service this request. Review the following specific error data and> change the source code accordingly.

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

When I delete the link, there is no more error.

What can I do?

Thank you all

Laurent

+5
source share
1 answer

Understand, this is an old question, but you would like to share information that helped me solve the same error. I could not narrow down the problem to which the .dll was causing the problem, but everything was resolved after removing the nuget packages. Something was causing an error, so removing and re-adding packages did the trick. Spent countless hours on this error, so hope this helps someone else who runs through it.

+8
source

Source: https://habr.com/ru/post/1245232/


All Articles