Fixes: U4-6268 TreeController cannot exist in App_Code
This commit is contained in:
@@ -419,7 +419,10 @@ namespace Umbraco.Core
|
||||
/// </example>
|
||||
public static string GetFullNameWithAssembly(this Type type)
|
||||
{
|
||||
return string.Concat(type.FullName, ", ", type.Assembly.GetName().Name);
|
||||
var assemblyName = type.Assembly.GetName();
|
||||
|
||||
return string.Concat(type.FullName, ", ",
|
||||
assemblyName.FullName.StartsWith("App_Code.") ? "App_Code" : assemblyName.Name);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user