visual-studio-2010sharepoint-2010stp

Import list template STP file to Visual Studio 2010


I have exported a Sharepoint 2010 list as a list template (.stp file) via the UI.

Is there any way to import this list template back to Visual Studio 2010 or is my only chance to extract the .cab file and go through the manifest.xml manually?


Solution

  • moontear! Yesterday I gave some thoughts to the same matter. Unfortunately, I couldn't find the solution to import the list template to VS 2010. It seems, that Microsoft deprecated .stp files in SP 2010 and replaced them with .wsp one. Therefore, I found two solutions: The first: Working with .cab files, as you said. The second: Make the template of the whole site and copy the list from it to your project in VS 2010.