How can I create a custom web template in Visual Studio?
See here some requirements: I dont want to create a site definition! I dont want to import a saved template file (wsp) into Visual Studio
- I dont want to create a site definition!
- I dont want to import a saved template file (wsp) into Visual Studio
I think, but not sure it is something like this:
1)Create a new SharePoint project
2)Create a new empty elements.xml file
3)Find the onet.xml from the publish site tempalte in the 14 hive folders
4)Copy the xml code inside this file
5)Paste the xml code in the elements.xml file you created in step 2
6)At this point you have a clean custom web template which is equal to the publish site template
7)Now you can add or remove stuff to your custom template
Create a new SharePoint project
Create a new empty elements.xml file
Find the onet.xml from the publish site tempalte in the 14 hive folders
Copy the xml code inside this file
Paste the xml code in the elements.xml file you created in step 2
At this point you have a clean custom web template which is equal to the publish site template
Now you can add or remove stuff to your custom template
The reason why I ask you inIs this forum, is because I cannot find anything in google or youtube. There is alot info about site definions, but thats not what I am looking for. I am looking for how to create a custom web template in VS.correct?