Hi Freinds,
I am running with one problrm in guidance packge. I have addedoneItem templatein my GuidancePackage that item template basically a Silverlight XAMlfile.I am refferingthis Itemtemplatein aProject template file which also insidemy Guidance Package.
after unfoding my solution and right clickonthe project and go to"Add New Item"I am notseeingmy Itemtemplate(XAMLFile) comming in the Add New DailogBox.
createdItem template is given below.
<VSTemplate Version="3.0.0" Type="Item" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<DefaultName>Custom Page</DefaultName>
<Name>Custom Page</Name>
<Description>Custom Page Item Template</Description>
<Icon Package="{CB22EE0E-4072-4ae7-96E2-90FCCF879544}" ID="9009"/>
<TemplateID>Honeywell.Core.MES.CustomTemplate</TemplateID>
<TemplateGroupID>Silverlight</TemplateGroupID>
<ProjectType>CSharp</ProjectType>
<ShowByDefault>false</ShowByDefault>
<SortOrder>10</SortOrder>
<RequiredFrameworkVersion>3.5</RequiredFrameworkVersion>
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
</TemplateData>
<TemplateContent>
<ProjectItem OpenInEditor="true" SubType="Page" ReplaceParameters="true" TargetFileName="$fileinputname$.xaml">Page.xaml</ProjectItem>
<ProjectItem OpenInEditor="false" ReplaceParameters="true" TargetFileName="$fileinputname$.xaml.cs">Page.xaml.cs</ProjectItem>
</TemplateContent>
<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
</VSTemplate>
createdproject templateis given below.
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
<Name Package="{CB22EE0E-4072-4ae7-96E2-90FCCF879544}" ID="1000" />
<Description Package="{CB22EE0E-4072-4ae7-96E2-90FCCF879544}" ID="1001" />
<Icon Package="{CB22EE0E-4072-4ae7-96E2-90FCCF879544}" ID="9007" />
<ProjectType>CSharp</ProjectType>
<TemplateGroupID>Silverlight</TemplateGroupID>
<TemplateID>Microsoft.Silverlight.CSharp.Project</TemplateID>
<SortOrder>40</SortOrder>
<RequiredFrameworkVersion>3.5</RequiredFrameworkVersion>
<CreateNewFolder>true</CreateNewFolder>
<DefaultName>SilverlightApplication</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
<LocationField>Enabled</LocationField>
<PromptForSaveOnCreation>true</PromptForSaveOnCreation>
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
</TemplateData>
<TemplateContent>
<Project File="SilverlightProject.csproj" ReplaceParameters="true">
<ProjectItem OpenInEditor="false" ReplaceParameters="true">Page.xaml</ProjectItem>
<ProjectItem OpenInEditor="false" ReplaceParameters="true">Page.xaml.cs</ProjectItem>
<!--<ProjectItem OpenInEditor="false" ReplaceParameters="true">App.xaml</ProjectItem>
<ProjectItem OpenInEditor="false" ReplaceParameters="true">App.xaml.cs</ProjectItem>-->
<ProjectItem ReplaceParameters="true" TargetFileName="$safeprojectname$Module.cs">RootModule.cs</ProjectItem>
<Folder Name="Properties" TargetFolderName="Properties">
<ProjectItem OpenInEditor="false" ReplaceParameters="false">AppManifest.xml</ProjectItem>
<ProjectItem OpenInEditor="false" ReplaceParameters="true" TargetFileName="AssemblyInfo.cs">AssemblyInfo.cs</ProjectItem>
</Folder>
</Project>
<CustomParameters>
<CustomParameter Name="SLPageToOpen" Value="Page.xaml" />
</CustomParameters>
</TemplateContent>
<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
<WizardData>
<Template xmlns="http://schemas.microsoft.com/pag/gax-template"
SchemaVersion="1.0" >
<References>
<TemplateReference Name="Items\MESPageTemplate.vstemplate" Target="\" />
</References>
</Template>
</WizardData>
</VSTemplate>
can any one help me to rectify this problem?..