anchor.diff:      let getIdentity () =
           VST.ExtensionIdentity.Create(getExtensionName (), getExtensionGuid ())
   
  +    type TemplateDef =
  +        {
  +            PathName : string
  +            Name : string
  +            DefaultProjectName : string
  +            Description : string
  +            ProjectFile : string
  +            Files :
  +                (string -> Templates.FolderElement)
  +                -> (string -> Templates.FolderElement list -> Templates.FolderElement)
  +                -> Templates.FolderElement list
  +        }
  +
       let makeProjectTemplate com meta project =
           let identity = getIdentity ()
           let c = Content.ReadBinaryFile(com.Config.NuPkgPath)
  
positive.code:             icon = com.Icon)
              .WithDefaultProjectName(dpn)
  
      let getLibraryTemplate com =
          let dir = com.Config.RootPath +/ "templates" +/ "library"
          let meta =
              "Creates an F# library capable of containing WebSharper-compiled code."
              |> makeTemplateMetadata com "Library" "Library"
          let main = VST.ProjectItem.FromTextFile(dir +/ "Main.fs").ReplaceParameters()
          let project =
              VST.Project.FromFile(dir +/ "Library.fsproj",
                  [VST.FolderElement.Nested main])
                  .ReplaceParameters()
          makeProjectTemplate com meta project
  
      let getExtensionTempalte com =
          let dir = com.Config.RootPath +/ "templates" +/ "extension"
          let meta =
              "Creates a new WebSharper extension to existing JavaScript code using \
                  the WebSharper Interface Generator (WIG) tool."
              |> makeTemplateMetadata com "Extension" "Extension"
          let main = VST.ProjectItem.FromTextFile(dir +/ "Main.fs").ReplaceParameters()
          let project =
              VST.Project.FromFile(dir +/ "Extension.fsproj",
                  [VST.FolderElement.Nested(main)])
                  .ReplaceParameters()
          makeProjectTemplate com meta project
  
      let getSiteletsWebsiteTemplate com =
          let dir = com.Config.RootPath +/ "templates" +/ "sitelets-website"
          let meta =
              "Creates a starter client-server web application based on sitelets."
              |> makeTemplateMetadata com "Client-Server Web Application" "Application"
          let file name =
              let i = VST.ProjectItem.FromTextFile(dir +/ name).ReplaceParameters()
              VST.FolderElement.Nested(i)
          let project =
              VST.Project.FromFile(dir +/ "Application.fsproj",
                  [
                      file "Remoting.fs"
                      file "Client.fs"
  
negative.code:                     file "Global.asax"
                      file "Main.html"
                      file "Setup.fsx"
                  ]
          }
  
      let siteletsHtmlTemplate =
          {
              Name = "HTML Application"
              PathName = "sitelets-html"
              DefaultProjectName = "HtmlApplication"
              Description =
                  "Creates a starter sitelet-based HTML application."
              ProjectFile = "HtmlApplication.fsproj"
              Files = fun file folder ->
                  [
                      file "Client.fs"
                      file "Main.fs"
                      file "extra.files"
                      file "Main.html"
                  ]
          }
  
      let siteletsHostTemplate =
          {
              Name = "ASP.NET Container"
              PathName = "sitelets-host"
              DefaultProjectName = "Web"
              Description =
                 "Creates a C#-based web project for hosting WebSharper sitelets in a web server."
              ProjectFile = "Web.csproj"
              Files = fun file folder ->
                  [
                      folder "Properties" [
                          file "Properties/AssemblyInfo.cs"
                      ]
                      file "Main.html"
                      file "Web.config"
                  ]
          }
  
      let getWebSharperExtension com =
          let desc = getExtensionDecription ()
  