ligershark / side-waffle

A collection of Item- and Project Templates for Visual Studio
Other
657 stars 205 forks source link

Template with multi projects #393

Closed NgageSoftware closed 8 years ago

NgageSoftware commented 8 years ago

Hi, i am trying to create a SideWaffle template which includes the output below, but i cannot get the second project to move across in the template.

Any ideas how this can be achieved?

VS Solution = $projectname$

codewithtyler commented 8 years ago

@sayedihashimi can you answer this question? I still haven't been successful with Multi Project templates so I'm not sure how to fix this.

sayedihashimi commented 8 years ago

Multi-project templates are tricky but I've created a new template system which makes it easier. Take a look at my video http://youtu.be/ysvTROB963k and related comment https://github.com/ligershark/side-waffle/issues/393#issuecomment-254201896.

I'm going to close this because I think pecan-waffle has all the features needed. If you run into issues please reopen with details.

NgageSoftware commented 8 years ago

Hi Sayed,

That has worked very well, just one question... How do i include the template icon, i have tried changing the icon node in vstemplate, but the icon or image does not get included in the template.

Many thanks

sayedihashimi commented 8 years ago

Hi @NgageSoftware in pecanwaffle I haven't wired up icons yet, but you can embed the icon in the vsix as a resource and then in the .vstemplate file you reference that. This is a feature of .vstemplate itself. I'm not sure exactly how to do that but I found a sample here on github. Take a look at the repo at https://github.com/borota/JTVS. More specifically take a look at the following two files:

  1. class.vstemplate
  2. VSPackage.resx

You'll also have to add the image file to the vsix project, mark it as an embedded resource.

If you're able to figure out how to get the icons wired up from a resource I would really appreciate if you added a wiki entry to https://github.com/ligershark/side-waffle/wiki.

NgageSoftware commented 8 years ago

fixed