Solution with unloaded projects

When I unload some projects in my solution, the types and namespaces from these are shown as red and errors in the rest of my projects (Cannot resolve symbol 'xxx'). Why is it so? It is extremely annoying, because these mix up with real errors in the file.

5 comments
Comment actions Permalink

And which behavior did you expect?

0
Comment actions Permalink

I would like to not to recieve any complains from resharper.
It certainly is not an error - the code still compiles fine.

0
Comment actions Permalink

Once you've unloaded project - you directly instructs Code Model to unload all info from that project. ReSharper relies on Visual Studio project hierarchy - if it is unavailable, ReSharper cannot deal with source files  BTW, "build" action has nothing with common the "load"/"unload" project status - it is external tool and build all projects regardless of what VS think about them.

0
Comment actions Permalink

Do you disagree with me and think that unloading a project in a solution should show errors in all files that reference the types from the project?

0
Comment actions Permalink

To successfully analyze code, ReSharper _should_ have types/methods from that project.  If output assembly is available, and ReSharper tries to switch from source code to that project.

0

Please sign in to leave a comment.