I have some Unicorn configuration files which use a specific $variable for the physicalRootPath:
physicalRootPath="$(sourceFolder)\foundation\Serialization\Serialization"
Now I would like to have the $sourceFolder variable be dependent of the Sitecore standard $dataFolder variable. So I have defined:
<sc.variable name="sourceFolderPublic" value="$(dataFolder)\Serialization" />
But when I run /unicorn.aspx I get the following error: It seems the $(dataFolder) variable is not filled in?
I've narrowed it down even further. In the root Sitecore.config I have directly defined the following config and it works: But when I use this it doesn't work (crash) This is the stacktrace