cake-build / cake-vs

Cake Extension for Visual Studio
https://marketplace.visualstudio.com/items?itemName=vs-publisher-1392591.CakeforVisualStudio
MIT License
67 stars 25 forks source link

Cake-vs only loads build.cake #93

Open chris-thompson-go opened 5 years ago

chris-thompson-go commented 5 years ago

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.

bgiot commented 5 years ago

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...

agc93 commented 5 years ago

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.

JustinKaffenberger commented 5 years ago

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.

soroshsabz commented 3 years ago

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

soroshsabz commented 3 years ago

related to #132