Here is the article on how to check if a list is already exists or not before you create any list using list definition from sharepoint If you create list definition from VS and deploy it, For every deploy it will delete the list if already exists.
To aviod that we need to modify the SharePointProjectItem.SPDataItem file in VS
Just set "DeploymentConflictResolutionBehavior" to "None" will stop deleting the list eventhough if exists
Here is the sample XML code..
Thank you !!
To aviod that we need to modify the SharePointProjectItem.SPDataItem file in VS
Just set "DeploymentConflictResolutionBehavior" to "None" will stop deleting the list eventhough if exists
Here is the sample XML code..
Thank you !!