It is imperative to set the namespace correctly in the designer and code file. The namespace must match a namespace pertinent to the project that receives the files you try to add