I have a question for my fellow DNN developers who are using the WAP method of module development. For the last two years I have been using the WSP method of module development. And it worked alright but to speed up packing of modules I switched to the WAP method. I’ve gotten everything to work but I have a “thorn in my side” problem. It seems that no matter what I do, I get this following error message when I try and use the dnn controls.
This line of code:
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
will cause this error:
Error 1 File '~/controls/LabelControl.ascx' was not found. C:\CompiledModules\Old\MyModule\MyModule\MyModule\Settings.ascx 2 51 MyModule
In the WSP method this would work fine and there would be no errors, and Intellisense would work. Despite the error, this module will compile and it will run fine. But on some of my larger forms, I get 1500+ page errors from missing dnn controls. It’s making it difficult to find the real errors, and without Intellisense it’s getting hard to catch typos. I understand why it’s causing an error; the label control is no longer in this project. Is there a way to reference the control so that this error goes away and my Intellisense comes back?
Thanks,
Nathan Rover