I'm using ASP.Net with Visual Studio 2012/.NET 4.5 and here's the situation:I have an assembly with an abstract class that inherits from WebControl named CDASPControl, it contains various helper methods and such for other controls that inherit from it. And I have an assembly called CDASPGrid that inherits from the aforementioned control.When I drop the CDASPGrid into my web page, it adds the control just fine, and adds the register page directive with no problem:\[code\]<%@ Register Assembly="CDASPGrid, Version=0.0.0.0, Culture=neutral, PublicKeyToken=" Namespace="Controls" TagPrefix="cdc" %><cdc:CDASPGrid ID="CDASPGrid1" runat="server" />\[/code\]When I go to compile my application I get the following error:\[quote\] type 'Controls.CDASPControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'CDASPControl, Version=0.0.0.0, Culture=neutral, PublicKeyToken='.\[/quote\]In the references, the CDASPGrid reference is there, however the CDASPControl reference is not.When I manually add the CDASPControl reference to the web site (it's a web project if that makes any difference) it compiles and runs just fine. Is there anyway to get the web site to pick up the extra reference automatically without having to manually add it?I've noticed 3rd party controls do this, for example the DevXPress ASP Gridview control will add any necessary references to the web.config as necessary. Would someone be able to point me in the right direction so that I can learn how to accomplish this?Thanks.