Fix namespaces when building MB models

This commit is contained in:
Bjarke Berg
2021-02-22 10:32:09 +01:00
parent 890cd45677
commit bf936cbd65
3 changed files with 4 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ namespace Umbraco.Cms.Infrastructure.ModelsBuilder.Building
"Umbraco.Cms.Core.Models.PublishedContent",
"Umbraco.Web.PublishedCache", // Todo: Remove/Edit this once namespaces has been aligned.
"Umbraco.Cms.Core.PublishedCache",
"Umbraco.Cms.ModelsBuilder.Embedded",
"Umbraco.Cms.Infrastructure.ModelsBuilder",
"Umbraco.Cms.Core",
"Umbraco.Core", // TODO: Remove once namespace is gone, after which BuilderTests needs to be adjusted.
"Umbraco.Extensions"

View File

@@ -1,18 +0,0 @@
using System;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.Dashboards;
namespace Umbraco.Cms.Infrastructure.ModelsBuilder
{
[Weight(40)]
public class ModelsBuilderDashboard : IDashboard
{
public string Alias => "settingsModelsBuilder";
public string[] Sections => new [] { "settings" };
public string View => "views/dashboard/settings/modelsbuildermanagement.html";
public IAccessRule[] AccessRules => Array.Empty<IAccessRule>();
}
}