#load "./import.cake" #reference "/home/seth/source/SethCS/SethCS/bin/Debug/netstandard2.0/LibSethCS.Standard.dll" using SethCS.Exceptions; Task("except") .Does(() => { throw new ValidationException("oops"); }); RunTarget(target);