I'm working on Create a Custom Web Part i'm able to do a build and run the new project in debug mode. However, after trying to add the new web part to the site, I get the following error.
"A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe."
I am working on sharepoint 2010