I am developing a DNN WAP module. As outlined in Michael Washington's DNN Help Website (http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/), I create my Module Project in the DNN Solution under DesktopModules folder.
However, when I register a DNN Control from "~/controls/" folder in my project
(e.g. <%@ Register Src="~/controls/labelcontrol.ascx" TagPrefix="dnn" TagName="Label" %>)
VS shows a error, that the control is not defined. I guess this is because, the control does not belong to the same project as my Module. Is that true??
How do I get rid of this error?? I am also trying to use controls from "~/admin/Users" folder (like Profile.ascx) in my custom module, but I get the same error.
I guess there should be a way around this, because all DNN modules use these controls, and most of them are WAP compiled...