Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Unassigned: 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 [117]

$
0
0
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.
Comments: Thanks davidebbo its working fine now. Instead of "Login" i changed controller name as "LoginPage".

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>