I've got a problem I've never had before. I have a simple Solution/Feature with a web part, and after working on the web part, I decided to change the name of the assembly. I have confirmed that all references to the assembly have been changed
as well to the new name everywhere in the code/elements.xml, etc. When I deploy/activate the Feature, the correct new name is added to the GAC and to Safe Controls in the web.config. However, when I go to add the Web Part to a page, I get an error
and in the Logs it is clearly attempting to reference the previous name of the assembly for the <type name='[namespace], [old assembly name], [version], [key token] /> element in the .webpart file.
I have confirmed that I can go to the Hive, find and open the .webpart in notepad and it is indeed using the new Assembly name, however in the logs it is attempting to locate the old one.
I have done a restart to try and clear everything, but it is still happening. I've done a complete search through the solution for any instances of the old name (including the Project Properties, etc.), and the old name is no where.
So, what is going on? Why can't I get the system to reference the new assembly name when adding the web part to a page?
View Complete Post