Visual Studio Developer Center > Visual Studio Forums > Visual Studio Guidance Automation Toolkit > Anybody has an idea how to specify a icon file for a recipe. (Please help)
Ask a questionAsk a question
 

Proposed AnswerAnybody has an idea how to specify a icon file for a recipe. (Please help)

  • Tuesday, September 08, 2009 7:40 PMWell0549 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have the icon file and pint to the file in the recipe. But unfortunately it doesn't work, i am obviously doing something wrong here.
    is ther anybody out there who knows this ?

    Currently I have something like this :

      <HostData>
        <Icon File="Recipes\BestPractice.ico"/>
        <CommandBar Menu="BBPGProject" />
      </HostData>

    But it doesn't work
    Well0549

All Replies

  • Thursday, September 10, 2009 1:10 PMJose Escrich Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Hi Well,

    You should set the copy to output property in the icon file, otherwise gax won't be find the file.
    If you want to use the builtin icons those comes from the
     C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\csproj.dll,
    assembly, you can check the icon ids there

    HTH


    Jose Escrich - weblogs.asp.net/jescrich
    • Proposed As Answer byJose Escrich Thursday, September 10, 2009 1:10 PM
    •  
  • Thursday, September 10, 2009 1:23 PMWell0549 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Build action = Content
    Copy -> Copy Always

    Doesn't show up...

    I even tried the dll you mentioned, but th eicons just won't show up....

    Is it because i have my own commandbar or is there some fuzzy logic somehere that determines wheter or not to show an icon.....

    I do ghet icons for my CSHARP projects, but there are also BizTalk Projects with and they wont work for BizTalk projects
    Well0549