diff --git a/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs b/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs index 60f7b95b53..76d773d1da 100644 --- a/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs +++ b/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs @@ -144,7 +144,8 @@ namespace Umbraco.Extensions var methodParams = ExpressionHelper.GetMethodParams(methodSelector); if (method == null) { - throw new MissingMethodException("Could not find the method " + methodSelector + " on type " + typeof(T) + " or the result "); + throw new MissingMethodException( + $"Could not find the method {methodSelector} on type {typeof(T)} or the result "); } if (methodParams.Any() == false) diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index cced16fc93..22da135dd3 100755 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -424,9 +424,6 @@ - - -