Try our conversational search powered by Generative AI!
AI OnAI Off
Hi Hua,
You could try changing:
Inherits="Your.Namespace.Here.TypeName" to:
Inherits="Your.Namespace.Here.TypeName, AssemblyNameHere"
Right now you're referring to a type which exists in two different assemblies.
After successfully intalled the demoTemplate. Complied, but got error as following:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: The type 'EPiServer.Templates.Demo.Units.Static.Header' is ambiguous: it could come from assembly 'C:\Projects\Citizens Advice Bureau\CitizensAdvice\bin\EPiServer.Templates.Public.DLL' or from assembly 'C:\Projects\Citizens Advice Bureau\CitizensAdvice\bin\EPiServer.Templates.Demo.DLL'. Please specify the assembly explicitly in the type name.
Source Error: