I'm moving from a WSPBuilder based SharePoint 2010 solution to a Visual Studio 2010 based solution. After porting the WSPBuilder based solution to a plain Visual Studio based solution I tried to deploy the new solution. Solution names and ids as well as feature names and ids are the same but Visual Studio complained because I was trying to deploy the new features to other directories than the original features.
WSPBuilder deploys features to directories with the same name as the directory/folder in Visual Studio. Visual Studio on the other hand deploys features to directories named after the Visual Studio project and the feature name.
I'm a little bit afraid of how to handle this in a client's production environment. In order to move to a VS solution I would have to retract the solution in production and then deploy the new solution. So, what happens to the 100s of sites in which the features are active? Can the feature upgrade framework handle this?