cake-vs icon indicating copy to clipboard operation
cake-vs copied to clipboard

Cake-vs only loads build.cake

Open chris-thompson-go opened this issue 6 years ago • 5 comments

I did quick survey of github projects using cake and the vast majority use a single build.cake file. It would be handy, however, if the Task Runner integration would load all the cake scripts in the project.

chris-thompson-go avatar Jul 20 '18 21:07 chris-thompson-go

I vote for the same request. Otherwise I don't really understand why we have a tree view in the Task Runner Explorer if it only support one cake build script...

bgiot avatar Oct 03 '18 07:10 bgiot

To answer your point specifically, the tree view is something that Visual Studio puts in and our extension slots into. VS's extensibility is decidedly tricky to work with, so there are certain things we just have to work around.

To the larger point, this is something I have looked at it in the past, but wasn't able to get working reliably. We obviously accept PRs, but we have some larger changes on the horizon as well that might make this easier.

agc93 avatar Oct 09 '18 04:10 agc93

What's interesting is I have a build.cake file that references a tasks.cake file, so I would think all of the tasks would be loaded in. However, this is not the case, and the default target is the only one that gets loaded in.

JustinKaffenberger avatar Oct 29 '18 15:10 JustinKaffenberger

@gep13 I think it is better to add some config file to locate cake file with custom path and name.

soroshsabz avatar May 07 '21 11:05 soroshsabz

related to #132

soroshsabz avatar May 07 '21 11:05 soroshsabz