Skip to content

Commit c377e6c

Browse files
For project.json-based projects, fix Kudu deployment by adding a .deployment file at the root
1 parent 2a1435d commit c377e6c

File tree

6 files changed

+11
-1
lines changed

6 files changed

+11
-1
lines changed

templates/Angular2Spa/.deployment

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[config]
2+
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json

templates/AureliaSpa/.deployment

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[config]
2+
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json

templates/KnockoutSpa/.deployment

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[config]
2+
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[config]
2+
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json

templates/ReactSpa/.deployment

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[config]
2+
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json

templates/package-builder/src/yeoman/app/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const templates = [
5050
const sdkChoices = [{
5151
value: '1.0.0-preview2-1-003177', // Current released version
5252
name: 'project.json' + chalk.gray(' (compatible with .NET Core tooling preview 2 and Visual Studio 2015)'),
53-
includeFiles: [/^project.json$/, /\.xproj$/, /_placeholder.txt$/]
53+
includeFiles: [/^project.json$/, /\.xproj$/, /_placeholder.txt$/, /\.deployment$/]
5454
}, {
5555
value: '1.0.0-preview3-004056', // Version that ships with VS2017RC
5656
name: '.csproj' + chalk.gray(' (compatible with .NET Core tooling preview 3 and Visual Studio 2017)'),

0 commit comments

Comments
 (0)