I have created a custom list definition and a list instance via a feature. An EventReceiver on the feature adds some data to the list first checking that it is not already there to prevent duplicates.
The problem is that when I retract the solution or redeploy then the list instance is removed. This is going to cause an issue if a user adds extra data to the list instance and then I need to run another deployment.
My understanding was that the list instance should stay even when the solution was retracted ?
Any ideas how I can get arond this ?