繁体   English   中英

找不到错误类型或名称空间名称配置文件常见

[英]error type or namespace name profilecommon could not be found

当我编译此代码时,它向我显示了找不到的常见错误类型或名称空间名称配置文件。 有人可以帮我解决这个问题吗?

case "Profile":
ProfileCommon pc = Profile.GetProfile(user.UserName);
DropDownList3.Items.Clear();
foreach (SettingsProperty p in
ProfileCommon.Properties)
{
DropDownList3.Items.Add(p.Name);
}
MultiView1.ActiveViewIndex = 4;
break;
}

您可能缺少对包含ProfileCommon的名称空间/程序集的using语句或程序集引用。 检查您的参考!

编辑:

请参阅问题,以寻求可能的解决方案。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM