Skip to content

Commit 918e7ed

Browse files
Remove global.json files from templates for consistency with stock MVC template.
1 parent e1c90b3 commit 918e7ed

File tree

7 files changed

+1
-25
lines changed

7 files changed

+1
-25
lines changed

templates/AngularSpa/global.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

templates/AureliaSpa/global.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

templates/KnockoutSpa/global.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

templates/ReactReduxSpa/global.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

templates/ReactSpa/global.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

templates/VueSpa/global.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ function buildYeomanNpmPackage(outputRoot: string) {
9595
{ from: /.*\.csproj$/, to: 'tokenreplace-namePascalCase.csproj' }
9696
];
9797
const contentReplacements = [
98-
// global.json items
99-
{ from: /sdkVersionInjectedHere/, to: '<%= sdkVersion %>' }
98+
// Currently, there are none
10099
];
101100
_.forEach(templates, (templateConfig, templateName) => {
102101
const outputDir = path.join(outputTemplatesRoot, templateName);
@@ -148,11 +147,6 @@ function buildDotNetNewNuGetPackage() {
148147
exclude: ['.template.config/**']
149148
}],
150149
symbols: {
151-
sdkVersion: {
152-
type: 'bind',
153-
binding: 'dotnet-cli-version',
154-
replaces: 'sdkVersionInjectedHere'
155-
},
156150
Framework: {
157151
type: 'parameter',
158152
description: 'The target framework for the project.',

0 commit comments

Comments
 (0)