G
Guest
I have an app with a MasterPage. In the MasterPage is a user control with
several public properties and methods that I want exposed to the content page.
Rather than writing several redirection methods to expose the properties, I
would rather just expose the user control as a property of the MasterPage.
The problem is, when I compile, I get an exception on the content page:
The type 'MessageBlock.MessageBlock' is defined in an assembly that is not
referenced. You must add a reference to assembly
'App_Web_messageblock.ascx.6bb32623.qgtfpxt7, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null'.
What do I need to do to make sure that my project builds into a single
assembly? It is a web site project and not a web application project. In
fact, it is a custom web site project as created by the AJAX web site
template.
Thanks,
Dale
several public properties and methods that I want exposed to the content page.
Rather than writing several redirection methods to expose the properties, I
would rather just expose the user control as a property of the MasterPage.
The problem is, when I compile, I get an exception on the content page:
The type 'MessageBlock.MessageBlock' is defined in an assembly that is not
referenced. You must add a reference to assembly
'App_Web_messageblock.ascx.6bb32623.qgtfpxt7, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null'.
What do I need to do to make sure that my project builds into a single
assembly? It is a web site project and not a web application project. In
fact, it is a custom web site project as created by the AJAX web site
template.
Thanks,
Dale