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 am trying to build a custom ListInstance for deployment in Visual Studio. It should be based on the Contacts template so it can be opened in/linked to Outlook, but I also want to add two other custom content types to the ListInstance. How do I do that?

It is possible to create what I want through the web interface, but I would like to do it in Visual Studio.

share|improve this question
up vote 1 down vote accepted

Have you tried exporting the site where you have created the lists as a WSP and imported the project in Visual Studio?

List instances in SP2010 use the CustomSchema attribute in Elements schema. Exporting the list should give you the Schema.xml for the list instance

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.