Can someone help me with this error, I'm trying to create a profile with ProfileCommon
Compile Error
Description: Error compiling a resource needed to service this solicitation. Review the specific details of the error and modify the source code properly.
Compiler Error Message: CS0433: The 'ProfileCommon' Type Exists both in 'c: \ Users \ marconibarroso. \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ e457865f \ cc134d14 \ assembly \ dl3 \ f4208480 \ dca737e7_71d6cf01 \ CRM Onlline.DLL 'as in 'c: \ Users \ marconibarroso. \ AppData \ Local \ Temp \ Temporary ASP.NET Files \ root \ e457865f \ cc134d14 \ App_Code.ucs9f3oh.dll '
My code
public class ProfileCommon : ProfileBase
{
public virtual string UserId
{
get
{
return ((string)(this.GetPropertyValue("UserId")));
}
set
{
this.SetPropertyValue("UserId", value);
}
}
public virtual string Nome
{
get
{
return ((string)(this.GetPropertyValue("Nome")));
}
set
{
this.SetPropertyValue("Nome", value);
}
}
public virtual string TipoPermissao
{
get
{
return ((string)(this.GetPropertyValue("TipoPermissao")));
}
set
{
this.SetPropertyValue("TipoPermissao", value);
}
}
public virtual string Email
{
get
{
return ((string)(this.GetPropertyValue("Email")));
}
set
{
this.SetPropertyValue("Email", value);
}
}
}