In one of my previous blogs I have mentioned that there is a serious problem if you want to develop SharePoint 2007 solutions using Visual Studio 2008: SharePoint Solution Generator (SSG) doesn't work on such an environment. Personally I use SSG quite a lot while working with custom lists: I can configure the list using the SharePoint GUI and then extract its definition and incorporate it in my Solution.
To solve this problem I have created a custom StsAdm command which is an equivalent of the SharePoint Solution Generator.The command allows you to extract the schema and the forms of a particular list. As I've been busy lately I didn't manage to fix [the issue I have found in SSG](/inconvenient-sharepoint-solution-generator/) and described previously as well. As soon as I will though, there will come an update of the StsAdm command. In the meanwhile you can download the OCDExportList StsAdm from our CodePlex site: [Imtech StsAdm Commands v188.8.131.52](http://www.codeplex.com/tmt/Release/ProjectReleases.aspx?ReleaseId=10875 "Download Imtech StsAdm Commands v184.108.40.206 from CodePlex"). The command is packaged as a WSP. It becomes available after deploying the Solution.
And if you wonder what OCD in the name means: it stands for OneClickDeployment - a powerful utility I have helped designing and developing and which supports our development process of SharePoint 2007 Solutions. More about it soon.
The OCDExportList command is free and you can use it without any restrictions. If you want to use it, I would appreciate it if you left a comment and send me some feedback.