Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit d7a3289

Browse files
madskristensenSteveSandersonMS
authored andcommitted
Outputs vs-2017.3.host.json file
This should now write out the correct file for VS to pick up. The icon is missing since I'm not totally sure about how we should inject that into the _.template.config_ folder. Also, is there a description of each template we can use?
1 parent 3c1a1ff commit d7a3289

File tree

1 file changed

+8
-0
lines changed
  • templates/package-builder/src/build

1 file changed

+8
-0
lines changed

templates/package-builder/src/build/build.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,14 @@ function buildDotNetNewNuGetPackage() {
160160
fs.writeFileSync(path.join(templateConfigDir, 'dotnetcli.host.json'), JSON.stringify({
161161
symbolInfo: {}
162162
}, null, 2));
163+
164+
fs.writeFileSync(path.join(templateConfigDir, 'vs-2017.3.host.json'), JSON.stringify({
165+
name: { text: templateConfig.displayName },
166+
description: { text: templateConfig.displayName },
167+
order: 2000,
168+
learnMoreLink: "https://github.com/aspnet/JavaScriptServices",
169+
uiFilters: [ "oneaspnet" ]
170+
}, null, 2));
163171
});
164172

165173
// Invoke NuGet to create the final package

0 commit comments

Comments
 (0)