Visual Studio 2019 16.1.0 seems to break test discovery in ReSharper 2019.1
Just installed VS 2019 v16.1.0 and attempted to bring up the Unit Test Explorer window. Just displays black VS window. New VS build has hosed something in ReSharper.... Anyone else seeing this?
Please sign in to leave a comment.
I'm seeing something similar in VS 2017 v15.9.12 and ReSharper Ultimate 2017.2.1. It no longer discovers any unit tests. The Unit Test sessions are blank, and there's no IDE integration anymore. No unit test icons next to the methods
Just updated to VS 2019.1.1 and noticed the ReSharper unit test window was now empty. Updated ReSharpert to 2019.1.1 and that didn't help. VS gave me a warning about multi-monitor causing ReSharper display issues. I didn't think it would be 'display missing'!! So looks like VS screwed the display of the several of it's windows including Find ..
I see the same issue, "Unit Tests" and "Find Usages" windows are blank. I'm on VS 2019 16.1.1 and resharper 2019.1.1
Hello everyone!
Sorry for delay in responding.
Could you please try suggestion from the following help article.
Thank you.
For me, still using ReSharper 2017 with VS 2017, I don't have that option. But this seems to be to address drawing issues, and in my case, the Unit Test Sessions window draws correctly, it just won't discover any unit tests anymore. There are zero listed. Further, the unit test run/debug icon in the editor window is no longer there. So I don't know if I have the same issue or a different issue from the OP, but the thread was titled "Discovery", while the description did indicate a "black window".
Disabling "Optimize rendering for screens with different pixel densities" fixed the issue for me.
Thank you!
Disabling the setting above worked for me as well.
Hello Rob!
Thank you for the feedback.
Is the problem reproduced for newly created solution? Could you please try clearing %localappdata%/JetBrains/Transient and check if it helps.
Thank you.
No, deleting the directory does not work. Yes, it is reproducible in a newly created solution.
Shows up in VS's "Test Explorer", but ReSharper is not discovering it.
Hello Rob!
Thank you for the reply.
Sorry I've missed you're using VS 15.9.12 which was released lately with ReSharper 2017. Could you please try ReSharper 2019.1.1 and check if the problem is still reproduced?
Thank you.
I can confirm that updating to ReSharper 2019.1.1 does fix the problem. SO it would appear that the recent VS 2017 update broke ReSharper 2017.
Unfortunately, I am not on a subscription, and do not have a license covering RS 2019, so I can only do the 30 day eval.
And the recent updates to VS 2019 (16.1.0 and 16.1.1) also broke ReSharper 2019.1.1, but tweaking the Options noted above in the VS settings seem to fix the issue, at least for me.
In 2017, the window draws correctly, it just can't find any unit tests to list. It sounds like the 2019 issue is that the window won't draw correctly?
Yes. The window won't draw.