ligershark / sidewafflev2

Other
30 stars 11 forks source link

Add dependency/prereq #9

Open sayedihashimi opened 7 years ago

sayedihashimi commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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

attilah commented 6 years ago

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