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?

 

 

14 comments
Comment actions Permalink

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

1
Comment actions Permalink

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 ..  

0
Comment actions Permalink

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

0
Comment actions Permalink

Hello everyone!

 

Sorry for delay in responding.

Could you please try suggestion from the following help article.

Thank you.

1
Comment actions Permalink

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". 

0
Comment actions Permalink

Disabling "Optimize rendering for screens with different pixel densities" fixed the issue for me.

Thank you!

1
Comment actions Permalink

Disabling the setting above worked for me as well. 

0
Comment actions Permalink

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.

0
Comment actions Permalink

No, deleting the directory does not work. Yes, it is reproducible in a newly created solution.

  • File>New>Project...
  • Unit Test Project (.NET Framework) Visual C#
  • Added reference to Microsoft.VisualStudio.QualityTools.UnitTestFramework 10.1.0.0
  • Populated default TestMethod() with Assert.IsTrue(true).

Shows up in VS's "Test Explorer", but ReSharper is not discovering it.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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. 

0
Comment actions Permalink

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.

0
Comment actions Permalink

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?

0
Comment actions Permalink

Yes.  The window won't draw.

0

Please sign in to leave a comment.