Monday, September 30, 2013

CS0012: The type is defined in an assembly that is not referenced

After deployment, page layouts are throwing Compiler Error Message: CS0012The type 'MCS.FW.SharePoint.UI.WebControlHTMLBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'MCS.FW.SharePoint, Version=2.0.0.0, Culture=neutral, PublicKeyToken=561ca36a4ea2b5b4'

The error can be fixed by adding the reference in the <assemblies> tag in web.config. 






No comments:

Post a Comment