diff --git a/src/Umbraco.Web/umbraco.presentation/macro.cs b/src/Umbraco.Web/umbraco.presentation/macro.cs index 446599a88d..d42f8f2a60 100644 --- a/src/Umbraco.Web/umbraco.presentation/macro.cs +++ b/src/Umbraco.Web/umbraco.presentation/macro.cs @@ -422,6 +422,11 @@ namespace umbraco try { TraceInfo("umbracoMacro","Usercontrol added (" + Model.TypeName + ")"); + + // Add tilde for v4 defined macros + if (string.IsNullOrEmpty(Model.TypeName) == false && Model.TypeName.StartsWith("~") == false) + Model.TypeName = "~/" + Model.TypeName; + macroControl = loadUserControl(ScriptType, Model, pageElements); break; }