Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependency/prereq #9

Open
sayedihashimi opened this issue Aug 24, 2017 · 3 comments
Open

Add dependency/prereq #9

sayedihashimi opened this issue Aug 24, 2017 · 3 comments

Comments

@sayedihashimi
Copy link
Member

sayedihashimi commented Aug 24, 2017

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
Copy link
Member Author

@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
Copy link
Member Author

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
Copy link

attilah commented Oct 25, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants