@@ -145,11 +145,12 @@ function buildDotNetNewNuGetPackage() {
145
145
fs . writeFileSync ( path . join ( templateConfigDir , 'template.json' ) , JSON . stringify ( {
146
146
author : 'Microsoft' ,
147
147
classifications : [ "Web" , "MVC" , "SPA" ] ,
148
- name : `MVC ASP.NET Core with ${ templateConfig . displayName } ` ,
149
148
groupIdentity : `Microsoft.AspNetCore.SpaTemplates.${ templateConfig . dotNetNewId } ` ,
150
149
identity : `Microsoft.AspNetCore.SpaTemplates.${ templateConfig . dotNetNewId } .CSharp` ,
150
+ name : `MVC ASP.NET Core with ${ templateConfig . displayName } ` ,
151
+ preferNameDirectory : true ,
152
+ primaryOutputs : [ { path : `${ sourceProjectName } .csproj` } ] ,
151
153
shortName : `${ templateConfig . dotNetNewId . toLowerCase ( ) } ` ,
152
- tags : { language : 'C#' , type : 'project' } ,
153
154
sourceName : sourceProjectName ,
154
155
sources : [ {
155
156
source : './' ,
@@ -168,7 +169,7 @@ function buildDotNetNewNuGetPackage() {
168
169
defaultValue : 'microsoft/dotnet:1.1.0-sdk-msbuild'
169
170
}
170
171
} ,
171
- preferNameDirectory : true
172
+ tags : { language : 'C#' , type : 'project' } ,
172
173
} , null , 2 ) ) ;
173
174
174
175
fs . writeFileSync ( path . join ( templateConfigDir , 'dotnetcli.host.json' ) , JSON . stringify ( {
0 commit comments