I am developing a module. Standard DNN clean install, new module named XYZ is located in it's own folder in DesktopModules. That folder (~\DesktopModules\XYZ\*.*) has all the files for my XYZ module, including the VS2010 solution and .csproj file.
For the DNN site that I use for this development, I have created a website in IIS as child of localhost, so http://localhost/MyXYZSite as URL.
A common DNN module development setup, I assume.
In the .ascx files, I reference the standard DNN controls, e.g.:
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
Problem: the location of the DNN label control is not recognized by VS2010, so I get a blue wiggle and I cannot use intellisense for the properties.
My idea to solve this: In the VS2010 solution properties of my module, Web tab, I can specifiy not to use the VS Developement server, but my local IIS web server with a different application root URL.
So http://localhost/MyXYZSite/DesktopModules/XYZ is my project URL and http://localhost/MyXYZSite is my application root URL.
Problem: this does not work. Any suggestions what I am doing wrong and a way to solve this?
BTW: the same problem applies for .css files.