I am working on a custom web part, that keeps error out with:
A web part or web form control on this page cannot be displayed or imported. the type is not registered as safe
any time I actually try to add it to the page. I created an "Empty SharePoint" project in Visual Studio and then added an ascx file.
I have checked the "Assembly Deployment Target" in the project properties and it is set to GlobalAssemblyCache. How to I get around this error?