Hi All,
I'm having a bit of a problem with the web application I'm currently working on. In it there are a few Web User Controls that we use to display information on a bunch of different pages. They seem to compile alright and arent showing up any errors. The problem is trying to register them on other pages to access them is returning a 'file not found' error in visual studio (2005). I have them defined like this:
<%@ Register TagPrefix="cc2" TagName="ControlSelector" Src="~/components/controls/ControlSelector.ascx" %>
The strange thing is that when I remove the '~' from the front no error is shown but the path beomes ~//components/controls/ControlSelector.ascx when looking at the designer and obviously it cant find the control anyway.
I've spent nearly the whole morning trying to figure out the virtual path concepts but none of it seems to matter.

