sidewafflev2 icon indicating copy to clipboard operation
sidewafflev2 copied to clipboard

Add dependency/prereq

Open sayedihashimi opened this issue 8 years ago • 3 comments

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.

sayedihashimi avatar Aug 24 '17 17:08 sayedihashimi

@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 prereg

Dependencies

Adding

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

Results in: deps

sayedihashimi avatar Aug 30 '17 16:08 sayedihashimi

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

sayedihashimi avatar Sep 07 '17 04:09 sayedihashimi

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" />

Source: Visual Studio Professional 2017 component directory

attilah avatar Oct 25 '17 05:10 attilah