ReSharper 9 support for external code?

I have a project that generates code with some custom build actions (using Microsoft Bond). Everything builds fine, but ReSharper doesn't find the generated types, putting red all over my code and breaking intellisense. Go To Definition seems to work well too.
Is there a way that I can include the generated types as "External Code"? I can't seem to find that option in ReSharper 9, although from a little searching over the web, it seems that we did have that option in previous version of ReSharper... is there a way to do this at all?

4 comments
Comment actions Permalink

Also, a (bad) workaround is that I unload the project that generates these types (after I build the project). In this case, ReSharper correctly finds the compiled DLLs and can disassemble the code when I go to reference and so on. Of course this is a very bad workaround, as I have to reload, build and unload everytime the generated code should be rebuilt, and of course I also get tons of build warnings on the projects that reference the unloaded project.

Anyone knows how to handle this properly and help me avoid this annoying workaround?

0
Comment actions Permalink

Hello Julian

  Please try enabling the following setting: ReSharper | OPtions | Environment | General | MSBuild access | Obtain data from msbuild after each compilation. Will it help in your case?

Thanks!

0
Comment actions Permalink

No, that didn't work either... tried the 3 MSBuild options, but all of them ended up with the same result...

0
Comment actions Permalink

I submitted a new ticket to YouTrack https://youtrack.jetbrains.com/issue/RSRP-432373. Feel free to comment and vote for it.

Thanks!

0

Please sign in to leave a comment.