Razor View - ASP.Net Core MVC The type or namespace cannot be found ...

  • Thread starter Thread starter Geol4549
  • Start date Start date
G

Geol4549

Guest
VisualStudio.15.Release/15.9.19+28307.1000
Microsoft .NET Framework
Version 4.8.03761

I am starting a new ASP.Net Core Web application project. I am quite familiar with the steps to do so. However all of a sudden the C# model class is not recognized by the Razor view and I get the old the "type or namespace cannot be found you are missing a using directive or assembly reference" message. There does not seem to be anything wrong with the model class as I can instantiate objects of the class in the HomeController. Razor views cannot see the C# model class. I deleted the solution and tried it again with the same result, did an update for Visual Studio 2017 and still no improvement. Can someone suggest what I need to do to get running again?

Thanks

Continue reading...
 
Back
Top