diff --git a/Needlework.Net/Needlework.Net.csproj b/Needlework.Net/Needlework.Net.csproj
index 7cde83f..0da5007 100644
--- a/Needlework.Net/Needlework.Net.csproj
+++ b/Needlework.Net/Needlework.Net.csproj
@@ -27,6 +27,7 @@
+
diff --git a/Needlework.Net/ViewLocator.cs b/Needlework.Net/ViewLocator.cs
index c1c6949..7ba73ea 100644
--- a/Needlework.Net/ViewLocator.cs
+++ b/Needlework.Net/ViewLocator.cs
@@ -1,8 +1,12 @@
using Avalonia.Controls;
using Avalonia.Controls.Templates;
+using Avalonia.VisualTree;
+using BitFaster.Caching;
+using BitFaster.Caching.Lru;
using System;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
@@ -10,7 +14,46 @@ namespace Needlework.Net
{
public class ViewLocator : IDataTemplate
{
- private readonly Dictionary