-
Hello. We used own implementation of Cake.Recipe, that we used as library in our projects. I like Cake Frosting more, because of better debug / testing possibilities. No I tried to migrate our Recipes to frosting. I created a library with our tasks and configurations. Now I get Do I have to redefine all recipe tasks in the project that reference (NuGet package) this recipe library? Or is there a way to make the tasks from library visible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found the solution. The assembly with the tasks have to be registered on CakeHost with public static void Main(string[] args) {
var config = new BuildConfig("ProjectName");
return new CakeHost()
.AddAssembly(typeof(CleanTask).Assembly)
.UseContext<BuildContext>()
.BuildWithConfig(config)
.Run(args);
} |
Beta Was this translation helpful? Give feedback.
Found the solution. The assembly with the tasks have to be registered on CakeHost with
AddAssembly
.