Unresolved Symbols With Mixed Mode Assemblies

I am currently using ReSharper 7.0.1 for C#. My project uses some mixed-mode (C++/CLI) assemblies. The "using" directives to the assembly are grayed out by ReSharper, saying they are not used (when they are), and the types used from the assembly are reported as a "Cannot resolve symbol" error. Everything compiles and runs as expected, but it seems ReSharper is having difficulty here. What are my options on how to deal with this? Can I disable these warnings, if there is no way to have ReSharper properly process these assemblies?

Thanks.

2 comments
Comment actions Permalink

Hi,

Small demo solution will be very useful for us to reproduce your problem
and probably fix it. Thanks in advance!

Kirill Falk
.NET Team QA Lead


Hello dmikon,

I am currently using ReSharper 7.0.1 for C#. My project uses some
mixed-mode (C++/CLI) assemblies. The "using" directives to the
assembly are grayed out by ReSharper, saying they are not used (when
they are), and the types used from the assembly are reported as a
"Cannot resolve symbol" error. Everything compiles and runs as
expected, but it seems ReSharper is having difficulty here. What are
my options on how to deal with this? Can I disable these warnings, if
there is no way to have ReSharper properly process these assemblies?

Thanks.

---
Original message URL:
http://devnet.jetbrains.net/message/5471178#5471178




0
Comment actions Permalink

I believe it happens with just any mixed mode assemblies. I can try and put a demo project together, if I have time.

However, can I disable these warnings somehow? All the types from the mixed mode assembly show warning and are highlighted in red, I would at least like to turn them off.

0

Please sign in to leave a comment.