title: NuGet Package which installs a VSIX
body: <p>We developed a "Custom Tool" type VSIX Visual Studio Extension in our company. This extension generates C# code from certain xml files. Right now I have a projects which produces the VSIX as the result of the build.</p>
  
  <p><strong>Goal: I would like to also wrap this VSIX into a NuGet package, what my fellow developers can install onto their solution.</strong> So I'm searching for some kind of Project Template or something for that. Or it is even good if there's something which triggers the process in the existing project (which now produces the VSIX).
  I don't seem to find any template for that in Visual Studio (2013).</p>
  
  <p>Bonus chatter: If I'm about to create the NuGet package for a VSIX by hand, how does that go? I'm looking at NuGet Package Explorer. Which files should I add and in what directory hierarchy? I have a VSIX file (which contains the extension.vsixmanifest, the generator dll and a pkgdef). The pkgdef refers to the generator assembly, and also the covered languages. How to construct the NuGet package?</p>
  
  <p>(There's an example for code generator in the Visual Studio SDK: <a href="http://code.msdn.microsoft.com/Visual-Studio-2010-SDK-ddfe1372" rel="nofollow">http://code.msdn.microsoft.com/Visual-Studio-2010-SDK-ddfe1372</a> , see the "SingleFileGenerator" example. Our extension purpose is very different, but architecturally the same: it generates a C# from an xml).</p>
  
  <p>I tried to search the issue, but the hits are talking about very different scenarios, like project template type VSIXs and how to include NuGet packages into VSIXs, etc. Those are off-topic for me. My requirements are less complex in theory.</p>