I got this error and it crashed. The file was importing four other less files from a sub directory.
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given
key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at dotless.Compiler.Watcher.FileChangedHandler(Object sender, FileSystemEvent
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt
32 numBytes, NativeOverlapped* overlappedPointer)
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Thanks for reporting that bug.
Could you maybe post information about your folder structure and your imports?
Here is the import code...
// Theme specific
The file I'm watching is just outside the stylesheet folder.
Are you intentionally using @import url() and @import "" ?
Because dotless executes both as dotless imports (not the CSS3 import statement)
In my limited testing everything worked out, but maybe the stylesheetsglobal.reset.css is not present?
Note: dotless does not parse css files when they are imported. It only inlines them into the target css file
Can anyone reproduce this error consistently? I just tried and I can't reproduce it...
with the changes in import and lack of response, I'm assuming this isn't an issue any more.