This project is read-only.

Resources Problem

Sep 17, 2016 at 8:40 PM

I got the package via NuGet and I created an VDHL.xml file which I copied from the documentation and I imported it as a resource. In the Window_Loaded event I wrote:
  box.CurrentHighlighter = HighlighterManager.Instance.Highlighters["VDHL"];
As soon as it starts I get an exception:

An unhandled exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in mscorlib.dll

Any idea how to fix it?