While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much.
When I create new ListDefinition in Visual Studio 2010 I use Custom Library or Document library.
elements.xml of the
ListDefinition I can edit
DocumentTemplate (from default for Document Library
119 for the Wiki Page Library type) but it changes nothing and library stil behaves as normal document library.
Is there something more to edit or do I have to generate this library from code?
I want to define my own columns so this is why I need to create ListDefinition.
Because if you create new
ListInstance you can choose Wiki Pages Library but then you have only
Elements.xml in your Visual Studio 2010 project and can not add custom columns from there (only from SharePoint Designer).