COM Interop generated code issue
Hy,
I've tlbimp'ed the Excel type library (so what?): even if the line
Excel.Application XlsApp = new Excel.Application ();
compiles, Application in in red and (consistently) does not appear in
the completion list.
Little annoyance for me but may be due to other issues with COM Interop
parsing.
Please sign in to leave a comment.
Federico,
which of two 'Application' identifiers is in red for you? If that on the
right side of the assignment,
this is a known problem with ReSharper - it does not recognize COM
interfaces marked with 'CoClass'
attribute as instantiable types
(http://www.intellij.net/tracker/resharper/viewSCR?publicId=2006).
What do you mean under 'other issues with COM Interop parsing'? I'm aware of
only one such issue - if you have a COM method that
takes an array as an output parameter, ReSharper erroneously treat such
parameter as 'out' in C# sense
(http://www.intellij.net/tracker/resharper/viewSCR?publicId=3125).
Thanks,
Dmitry
"federico" <f.spinazzi@masterhouse.it> wrote in message
news:cac969$c91$1@is.intellij.net...
>
>
>
>