I have a cake file with my Tasks defined. I also have a second cake file with some classes defined. In the second file, I would like to reference e.g. Cake.Json, and maybe Cake.Svn. But I cannot figure out how reference them.
How would I do that?
I have a cake file with my Tasks defined. I also have a second cake file with some classes defined. In the second file, I would like to reference e.g. Cake.Json, and maybe Cake.Svn. But I cannot figure out how reference them.
How would I do that?
Both addins and utility Cake scripts are references using pre-processor directives.
Addin directive
Usage
Example:
Reference directive
Usage
Example:
Load directive
Usage
Example:
Reference
Read more about pre-processor directives at
https://cakebuild.net/docs/fundamentals/preprocessor-directives