Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to change the icon of project template using vsix.

$
0
0

Hi,

I am creating template using multiple projects. for single project i can able to add my own icon to project template i.e. while exporting the project template only I added the image to the icon tab. but am unable to find the solution for adding my own image in case of multiple projects. I have created a one root.vstemplate file as below.

<VSTemplate Version="2.0.0" Type="ProjectGroup"
    xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
    <TemplateData>
        <Name>IT DevKit Phone</Name>
        <TemplateGroupID>WinRT-Managed</TemplateGroupID>
        <Description>An example of an image template</Description>
    <Icon>Aha-Soft-Standard-Portfolio-Ico-design.ico</Icon>
         <ProjectType>CSharp</ProjectType>
 <TargetPlatformName>Windows</TargetPlatformName>
        <RequiredPlatformVersion>8</RequiredPlatformVersion>
    </TemplateData>
    <TemplateContent>
        <ProjectCollection>          
        <SolutionFolder Name="WindowsPhone8">
                <ProjectTemplateLink ProjectName="PhoneApp1">
                  PhoneApp1\MyTemplate.vstemplate
                </ProjectTemplateLink>
  <ProjectTemplateLink ProjectName="PhoneApp2">
                   PhoneApp2\MyTemplate.vstemplate
                </ProjectTemplateLink>
            </SolutionFolder>
            </ProjectCollection>
    </TemplateContent>
</VSTemplate>

but unable to add the icon.


srujana


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>