#### Community support has been moved to https://github.com/cake-build/cake/discussions ####
#load
/ RunTarget
, etc. in the expression. So if there was a brilliant recipe for something specific that could be one way to use it as part of your workflow.ICakeEngine
to get the list of available tasks but that are all tasks found. Not the one which will be run.
<base href="/">
tag depending on build target.
var FixBlazorHrefDevTask = Task("FixBlazorHrefDev")
.IsDependentOn(BuildTask)
.Does(()=> {
ReplaceRegexInFiles("<base href=\"/\"", devServerEndpoint);
});
(String PreReleasePhase, String MinimumVersion) GetVersioningPropertyValues()
{
var directoryBuildPropsFilePath = GetFiles("../Directory.Build.props").Single().ToString();
var directoryBuildPropsDocument = System.Xml.Linq.XDocument.Load(directoryBuildPropsFilePath);
var preReleasePhase = directoryBuildPropsDocument.Descendants("MinVerDefaultPreReleasePhase").Single().Value;
var minVerMinimumVersion = directoryBuildPropsDocument.Descendants("MinVerMinimumMajorMinor").Single().Value;
return (preReleasePhase, minVerMinimumVersion);
}
local-name()
function. Have you checked the examples under https://cakebuild.net/api/Cake.Common.Xml/XmlPeekAliases/04FF8EA2 ?