命名空间'RealEstate'中不存在类型或命名空间名称'propuserlogincls'(您是否缺少程序集引用?) [英] The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)

查看:85
本文介绍了命名空间'RealEstate'中不存在类型或命名空间名称'propuserlogincls'(您是否缺少程序集引用?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我的网站在本地系统中正常运行。

生产后我收到一个错误(这是在点击登录页面)

Hello ,

My website is working properly in local system.
After production i am getting one error(this is coming when click on login page)

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)

Source Error:

Line 18:         protected void btnPropUserLogin_Click(object sender, EventArgs e)
Line 19:         {
Line 20:             RealEstate.propuserlogincls propuserloginObj = new RealEstate.propuserlogincls(); 
Line 21: 
Line 22:             propuserloginObj.EmailId = txt_email.Text;


Source File: e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs    Line: 20


Show Detailed Compiler Output:



Microsoft (R) Visual C# Compiler version 4.0.30319.17929

for Microsoft (R) .NET Framework 4.5
Copyright (C) Microsoft Corporation. All rights reserved.

e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs(20,24): error CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx.cs(20,75): error CS0234: The type or namespace name 'propuserlogincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(194,28): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(194,62): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(235,24): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)
e:\kunden\homepages\26\d119670768\www\RealEstate\PropertyEdit.aspx.cs(235,58): error CS0234: The type or namespace name 'Admincls' does not exist in the namespace 'RealEstate' (are you missing an assembly reference?)


Show Complete Compilation Source:

Line 1:    #pragma checksum "E:\kunden\homepages\26\d119670768\www\RealEstate\UserLogin.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5A55E9993134278D29545E3D8346C748D1045619"
Line 2:    //------------------------------------------------------------------------------
Line 3:    // <auto-generated>
Line 4:    //     This code was generated by a tool.
Line 5:    //     Runtime Version:4.0.30319.18052
Line 6:    //
Line 7:    //     Changes to this file may cause incorrect behavior and will be lost if
Line 8:    //     the code is regenerated.
Line 9:    // </auto-generated>
Line 10:   //------------------------------------------------------------------------------
Line 11:   
Line 12:   namespace RealEstate {
Line 13:       
Line 14:       
Line 15:       public partial class UserLogin : System.Web.SessionState.IRequiresSessionState {

推荐答案

我认为这很明显。命名空间 RealEstate 没有名为的类,propuserlogincls



C#区分大小写,因此您输入的名称可能不正确。
I think it's pretty obvious. The namespace RealEstate doesn't have a class called propuserlogincls.

C# is case sensitive so you may be typing the name incorrectly.


这篇关于命名空间'RealEstate'中不存在类型或命名空间名称'propuserlogincls'(您是否缺少程序集引用?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆