R – Temproray Asp.net files error

asp.nettemporary-filesvb.net

Hi when building my application I am getting some temporary files shown in Solution Explorer under Miscellaneous Files lie App_Web_YDKG.VB with following code block in that generating error

Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile
    Get
        Return CType(Me.Context.Profile,System.Web.Profile.DefaultProfile)
    End Get
End Property

Error :

Error 58 'Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile' has multiple definitions with identical signatures. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\infinityvb\2ae71c27\d560144b\App_Web_pwduczex.38.vb 456

Best Answer

stop the Visual Studio and delete temporary files from the .NET framework folder. Usually it is here:

[Windows Folder]\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files