I have a few problems when trying to add a web template SPI to a project.
I am running VS2012 (update 2) with local SP2010 Server and
- I get error message after adding new item: web template (Object reference not set to an instance of object); anyhow the web template elements do appear.
Now, let's pretend the error message did nothing important ;)
The different artifacts are not in any features; what kind of structure should there be? All site-, some web-scoped or what? All in one feature or scattered in many as Vesku instructed.
The documentation in the site is unfortunately still in "coming soon" state after about an year.
If I got it working, can I have site - subsite structure after adding two (or more) web templates. I have built quite a few sites according to Vesku's blog, but automating this structure would be just wonderful saving in time and effort and diminishing correcting
dumb copying and GUID errors I seem to make too many :)
As a matter of fact - generating a prototype two level web template based publishing site automatically would be considered a viable alternative to next year's Nobel prizes :)