This repository was archived by the owner on Apr 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
templates/package-builder/src/build Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -206,23 +206,10 @@ function buildDotNetNewNuGetPackage(packageId: string) {
206206 HostIdentifier : {
207207 type : 'bind' ,
208208 binding : 'HostIdentifier'
209- } ,
210- skipRestore : {
211- type : 'parameter' ,
212- datatype : 'bool' ,
213- description : 'If specified, skips the automatic restore of packages on project creation.' ,
214- defaultValue : 'false'
215209 }
216210 } ,
217211 tags : { language : 'C#' , type : 'project' } ,
218212 postActions : [
219- {
220- condition : '(!skipRestore)' ,
221- description : 'Restores NuGet packages required by this project.' ,
222- manualInstructions : [ { text : 'Run \'dotnet restore\'' } ] ,
223- actionId : '210D431B-A78B-4D2F-B762-4ED3E3EA9025' ,
224- continueOnError : true
225- } ,
226213 /*
227214 // Currently it doesn't appear to be possible to run `npm install` from a
228215 // postAction, due to https://github.com/dotnet/templating/issues/849
@@ -258,10 +245,6 @@ function buildDotNetNewNuGetPackage(packageId: string) {
258245 } ,
259246 Framework : {
260247 longName : 'framework'
261- } ,
262- skipRestore : {
263- longName : 'no-restore' ,
264- shortName : ''
265248 }
266249 }
267250 } , null , 2 ) ) ;
You can’t perform that action at this time.
0 commit comments