G
G
gleb shtraus2020-08-02 22:33:59
ASP.NET
gleb shtraus, 2020-08-02 22:33:59

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

1 answer(s)
D
Dmitry Sorokin, 2020-08-03
@DIMANRUS

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 question

Ask a Question

731 491 924 answers to any question