sidewafflev2
sidewafflev2 copied to clipboard
Add dependency/prereq
We need to add Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine as a dependency (or prereq not sure) in the .vstemplate file to ensure that the Template Engine is available on the end users machine.
@mlorbetske @phenning I'm trying to figure out what needs to go into the .vsixmanifest to ensure that TemplateEngine is available on the end users machine. I tried both prerequesties and dependenceis and neither is working for me.
Prerequisites
Adding
<Prerequisite Id="Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine" Version="[15.0,16.0)" DisplayName="TemplateEngine" />
Results in

Dependencies
Adding
<Dependency Id="Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine" DisplayName="TemplateEngine" d:Source="Installed" Version="[15.0,16.0)" />
Results in:

For the currently released version the prerequiset should be set to Micorosoft.VisualStudio.Component.Web. In some future version we can get a smaller component by adding Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine
I think we also need to supply 15.0.26606 as the lowest version number, since that is the one for 15.3.0 if I'm not mistaken from the docs, so the correct entry would be:
<Prerequisite Id="Microsoft.VisualStudio.Component.Web" Version="[15.0.26606.0,16.0)" DisplayName="ASP.NET and web development tools" />