Answer the question
In order to leave comments, you need to log in
ASP.net core absolutely doesn't see folders?
In the Models folder I have LodinViewModel, I need to connect it to login.cshtml
@model SHOP2.Models.LoginViewModel
error: there is no Models folder or there is no namespace
Everything is correct in the code
Answer the question
In order to leave comments, you need to log in
Try to clean the solution, rebuild the project, if it doesn't help, then copy your model and recreate.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question