Reference error

Asked

Viewed 52 times

0

Hello, I copied a Solution from one folder to another and started giving some reference errors, is an Asp.Net application that has a web API project.

In the original folder the application is running normal, in the copy folder when I open Solution and try to rebuild the error, the Route annotations that exist in the Web API controller methods turn red as if they were not finding the reference.

Does anyone know how to solve?

Thank you.

  • 1

    Outside the original folder, there is no folder called Packages?

  • By the way, you updated the solution packages before trying to do the build?

  • If you post the error while giving a rebuild would help..

1 answer

0


In the Asp.Net Web API dll reference was pointing to the . Net Framework folder in C:, I installed the Web API in the project by Nuget and resolved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.