SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have a designer workflow for a list instance. When i redeploy the list definition and list instance from VS 2010 solution the list is recreated and the association between the workflow and the list is lost.

site requires only one instance of the list so can i create the instance with fix GUID all the time it created ?

please suggest

share|improve this question

This is done best through SharePoint feature recievers. You can create and associate lists, you can also ensure a list does not exist.

If you are worried about redeploying from VS 2010 in your dev enviornment, you can set the configuration to not activate the feature automatically when you deploy via Visual Studio. I would recommend your feature which creates content/taxonomy be seperated from other features such as webparts/pages/dlls to ensure you can automatically refresh custom code in your enviornments.

Same Question

share|improve this answer

What you can do is select the List Instance in Solution Explorer, and then change the Deployment Conflict Resolution property (in the Properties window) to None. This way, the list instance won't be overwritten when the feature is activated.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.