Hello Pros,
I'm having trouble with the WizardExtension Tag in the *.vstemplate File.
<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"><TemplateData><Name>My Name</Name><Description>description</Description><!--StepsPlugin einfügen--><Icon>pic.ico</Icon><ProjectType>VisualBasic</ProjectType><TemplateID>a8d851ac-110d-4d50-aad1-1c7faa12a186</TemplateID><SortOrder>1000</SortOrder><NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp><CreateNewFolder>true</CreateNewFolder><DefaultName>App.Plugin.Template</DefaultName><ProvideDefaultName>true</ProvideDefaultName><RequiredFrameworkVersion>3.5</RequiredFrameworkVersion></TemplateData><TemplateContent><Project File="ProjectTemplate.vbproj" ReplaceParameters="true"><ProjectItem ReplaceParameters="false" TargetFileName="Readme.txt">Readme.txt</ProjectItem><ProjectItem ReplaceParameters="true" TargetFileName="Plugin1.vb">Plugin1.vb</ProjectItem><ProjectItem ReplaceParameters="true" TargetFileName="Plugin1.Designer.vb">Plugin1.Designer.vb</ProjectItem><ProjectItem ReplaceParameters="true" TargetFileName="My Project\AssemblyInfo.vb">AssemblyInfo.vb</ProjectItem><ProjectItem ReplaceParameters="true" TargetFileName="My Project\Application.myapp">Application.myapp</ProjectItem><ProjectItem ReplaceParameters="true" TargetFileName="My Project\Application.Designer.vb">Application.Designer.vb</ProjectItem><ProjectItem ReplaceParameters="false" TargetFileName="My Project\Resources.resx">Resources.resx</ProjectItem><ProjectItem ReplaceParameters="true" TargetFileName="My Project\Resources.Designer.vb">Resources.Designer.vb</ProjectItem><ProjectItem ReplaceParameters="false" TargetFileName="My Project\Settings.settings">Settings.settings</ProjectItem><ProjectItem ReplaceParameters="true" TargetFileName="My Project\Settings.Designer.vb">Settings.Designer.vb</ProjectItem></Project></TemplateContent><!--If i comment this section it works fine--><WizardExtension><Assembly>Steps.Plugin.Wizard, version=1.0.0.0, culture=neutral, publickeytoken=4e91fc4eed7fa2fc</Assembly><FullClassName>Steps.Plugin.Wizard.PluginWizard</FullClassName></WizardExtension></VSTemplate>
I get an Messagebox when i Open a new Project with this Template:
Unable to copy the file 'Application.myapp' from the project template to the project. Cannot find file "C:\Users\freiter\AppData\Local\Temp\3\zr3b4tgd.eyc\Temp\My Project\Application.myapp".
Whenn i comment the <WizardExtension> Section it works fine, only the Wizard is missing.
I've searched a lot and yes all Elements are in the Rootlevel in the Zipfile in the Template.
Does anyone did this error get before.
Please tell me if I wrote something technically wrong or I'm coding it not right and clean, I'm working on myself. Also please excuse me for my englisch, I'm an Austrian Nativespeaker (AUSTRIA no kangaroos). :)