Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
500
Can we Import DLL/add files to XamSyntaxEditor to get compilation result ?
posted

Hi ,

I have CodeEditor UserControl which contains XamSyntaxEditor on it .

I am  loading VB file into syntax Editor ,Now on button 'Check Syntax' ,currently Errors are displayed /red sqiggly lines appear  though logically file is correct .

Syntax editor is not considering supporting DLL  which are required to recognize some classes etc.

Can we Import DLL /add files required to compile file  which is loade in Syntax Editor like visual studio does   ?

Parents
  • 44743
    posted

    The syntax editor currently only checks for syntax errors (badly formed VB). It does not check for semantic errors (type or method names not being found, type mismatch errors, wrong number of arguments passed to a method, ...). So there are no errors currently being reported that loading a supporting DLL would help. The syntax editor is reporting syntax errors, meaning there is something wrong with the way it is reading the code. Are you using 13.1 or later? If not, try to upgrade. The 12.2 version of the parsing engine was  a CTP and so it may have some bugs causing these issues for you. If not, could you send me a small portion of correct code for which the syntax editor is reporting errors?

Reply Children