customizing lists with Visual Studio is often used in SharePoint development because many times we don't create lists manually, and manually creating lists synchronizes fields between the test server and the official machine, so we often use code to define lists or document libraries.
Especially in workflow development, we often use the Code definition Task list, or the history list, to store the relevant data we need to store. In Visual Studio 2013, the definition list also provides a template, and it's easy to define the list of needs through template creation.
Below, let's learn how to use vs to define a custom list.
1, as before, create a SharePoint 2013 empty project, the following figure:
2, choose the debugging site and solution type, here Select the field solution, the following figure:
3, add new items, select the list, the following figure: