This used to work fine, and I'm guessing it's because we had a web project with the web.config in the project itself.
With a sharepoint solution in visual studio, we had a tag declared in the (iis web 80 folder) web.config like:
<add tagPrefix="ourControls" namespace="MyProject.WebControls" assembly="MyProject.WebControls, Version=184.108.40.206, Culture=neutral, PublicKeyToken=xxecf07b2ad6582c" />
but when you create a tag for a control in a user control markup file it is not recognised and you need to declare the prefix at the top of every user control instead
this means the designer files can't work properly, and the code fails as we have loads of not declared protected control variables.
ive tried just adding the the web.config to the root of the deployment project and have tried the same with an App.config to no avail.
any work around?