我快要为此发疯了。我试图清理和重建,但我不断收到此错误。
我不知道该怎么办。
你有什么建议?
说明:在编译服务此请求所需的资源期间发生错误。请查看以下特定错误详细信息并适当修改您的源代码。
错误信息 :
编译器错误消息:CS0234:命名空间“System”中不存在类型或命名空间名称“Intor32”(您是否缺少程序集引用?)
在文件中
Line 1: //-------------------------------------------------------------------------
Line 2: // <auto-generated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version:4.0.30319.18010
Line 5: //
Line 6: //Changes to this file may cause incorrect behavior and will be lost if
Line 7: // the code is regenerated.
Line 8: // </auto-generated>
Line 9: //----------------------------------------------------------------------
Line 10:
Line 11: using System;
Line 12: using System.Web;
Line 13: using System.Web.Profile;
Line 14:
Line 15:
Line 16:
Line 17: public class ProfileCommon : System.Web.Profile.ProfileBase {
Line 18:
Line 19: public virtual System.Intor32 OperatorId {
Line 20: get {
Line 21: return ((System.Intor32)(this.GetPropertyValue("OperatorId")));
Line 22: }
Line 23: set {
Line 24: this.SetPropertyValue("OperatorId", value);
Line 25: }
Line 26: }
Line 27:
Line 28: public virtual ProfileCommon GetProfile(string username) {
Line 29: return ((ProfileCommon)(ProfileBase.Create(username)));
Line 30: }
Line 31: }
Line 32:
它以前工作正常,我不知道我改变了什么。
我没有提到 Intor32(搜索了整个解决方案)