MVC 5 Solving the problem in the View “is type, which is not valid in the indicated context”

If you have ever tried to migrate an ASP.NET CORE application to MVC5 or you are just taking a project on this platform, you will have encountered this problem:

The solution is simple, you just have to remove the “;” at the end of the line of code and the problem will have been solved.

If you have any questions or need advice or help on any other problem associated with development, you can leave your comments or communicate with us through the option Contact us < / a>.

Do not forget to follow us on our social networks:

Facebook / SoftwareLight.

Leave a Reply

Your email address will not be published. Required fields are marked *