-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Description
Hi,
I've done everything as you described in tutorial "How to create a project template"
Unfortunately when I finished tutorial project didn't appear in Add New Project Dialog.
Could you send me Project Template example for Visual Studio 2013
Visual Studio 2013
SideWaffle 1.20.339
_preprocess.xml:
<?xml version="1.0" encoding="utf-8" ?>
<Preprocess>
<TemplateInfo Path="CSharp\Web"/>
<Replacements Include="*.*" Exclude="*.vstemplate;*.fsproj;*.vbproj;*.jpg;*.png;*.ico;_preprocess.xml;_project.vstemplate.xml">
<add key="MvcTemplate" value="$safeprojectname$"/>
</Replacements>
</Preprocess>
_project.vstemplate.xml:
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
<Name>Your name here</Name>
<Description>Project description here</Description>
<DefaultName>MvcTemplate</DefaultName>
<ProjectType>CSharp</ProjectType>
<ProjectSubType>
</ProjectSubType>
<SortOrder>1000</SortOrder>
<CreateNewFolder>true</CreateNewFolder>
<ProvideDefaultName>true</ProvideDefaultName>
<LocationField>Enabled</LocationField>
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<Icon>sw-file-icon.png</Icon>
<TemplateID>87960f67-3c0a-46ea-83f9-0ec41334decd</TemplateID>
<!-- Indicates how many parent folders this item template should appear in -->
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
</TemplateData>
<TemplateContent>
<Project TargetFileName="MvcTemplate.csproj" File="MvcTemplate.csproj" ReplaceParameters="true">
</Project>
<CustomParameters>
<CustomParameter Name="SideWaffle Project Template Files" Value="Your name here" />
<CustomParameter Name="8e0a6fff-7069-4384-9bb3-5e53d6cbb0b3" Value="f292d270-4e1c-416b-9434-1e3a6bb9b7a6" />
<CustomParameter Name="Item" Value="Item" />
</CustomParameters>
</TemplateContent>
<WizardExtension>
<Assembly>LigerShark.Templates, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</Assembly>
<FullClassName>LigerShark.Templates.GoogleAnalyticsWizard</FullClassName>
</WizardExtension>
</VSTemplate>
Kind Regards
Metadata
Metadata
Assignees
Labels
No labels