3
Vote

Can't add from toolbox. Hardcoded path to SciLexer.dll

description

I can't drag and drop it onto the form from the toolbox. I get the following error.
I'm using VS2012.

Cannot load the 'SciLexer.dll' module into memory ---> The specified file cannot be found at SchintillaNET.Scintilla.LoadModule() in 'C:\users\jslusser\Projects\ScintillaNET\Releases\2.5\Scintilla.cs:line 669 (and 2508, 3688)

comments

kanaida wrote Feb 1 at 11:25 PM

The funny thing is I can programmatically add it to my form and it works fine. (I had to put the SciLexer.dll into my output build folder). I just get no design time support. Forgot to mention, it's a vb.net project.

jacobslusser wrote Feb 2 at 11:39 PM

jacobslusser wrote Feb 18 at 2:07 AM

Repeat question... have you followed the installation instructions? The path that you see in the stack trace is the path of the source code file when it was built on my machine--nothing to do with the path of the SciLexer.dll.

Dwedit wrote Feb 19 at 7:58 PM

Put scilexer.dll and scilexer64.dll in the project directory, then it should work in the forms designer.