Hi,
I used Razor Generator for the cshtml files.
My project structure is like:
1. Controllers(Folder) ->LoginController -> LoginPage action
2.ViewModel(folder) -> LoginDetails.cs file
While creating a view for LoginPage action i did LoginDetails model as strongly typed, After that when i did build i got error like ___"Error 3 The type or namespace name 'ViewModels' does not exist in the namespace 'Login.Views.Login' (are you missing an assembly reference?) C:\Users\E561158\Desktop\Login\Login\Views\Login\LoginPage.generated.cs 33 71 Login"___
I added namespace in the both web.config files as "Login.ViewModels" but still getting the error.
How to resolve this issue.
I used Razor Generator for the cshtml files.
My project structure is like:
1. Controllers(Folder) ->LoginController -> LoginPage action
2.ViewModel(folder) -> LoginDetails.cs file
While creating a view for LoginPage action i did LoginDetails model as strongly typed, After that when i did build i got error like ___"Error 3 The type or namespace name 'ViewModels' does not exist in the namespace 'Login.Views.Login' (are you missing an assembly reference?) C:\Users\E561158\Desktop\Login\Login\Views\Login\LoginPage.generated.cs 33 71 Login"___
I added namespace in the both web.config files as "Login.ViewModels" but still getting the error.
How to resolve this issue.