I have a webpart project built in visual studio 2010 and it has been deployed successfully to my production environment. I recently had to make some changes to the webpart and also needed to add a new supporting webpart to the project (based on the nature of the webparts and their relationship to each other it, I thought it would make sense to keep both in the same project and therefore part of the same feature).
Anyway, after making the changes I deployed to the server using the command 'update-spsolution'. However, while the changes I made to the already existing webpart were immediately visible on any pages where the webpart was deployed, I am not able to deploy the newly created webpart that was part of the feature, in fact I couldn't even find it in the web part gallery.
It was only afterwards when I removed the new webpart from the existing project and created a brand new project, a brand new wsp file and deploying the new solution and then activating the new feature that i was able to deploy the new webpart.
I'm wondering, is there something I'm doing wrong when running the 'update-spsolution' command that results in my newly added webpart not being available?