1

As per title, VS2015 just decided that I don't have any tests in my codebase

What I've tried so far:

  • restart the machine
  • restart VS2015
  • clean/rebuild the solution
  • reinstall .NET 1.0.0
  • Delete the %TEMP% folder
  • Delete the AppData/Microsoft/* folder
  • checkout the project again from Git. Tests are working fine on other machines
  • Reinstall NUnit 3 Test adapter
  • dotnet restore command on the command line
  • Tried to change the processor architecture in Test > Test Settings > Default Processor Architecture with and without a VS2015 restart after it

Any suggestions?

Gianluca Ghettini
  • 11,129
  • 19
  • 93
  • 159
  • have you changed your project json? Could you have accidentally removed your test runner and/or `"dotnet-test-nunit": "3.4.0-beta-3",` – Kritner Feb 24 '17 at 12:51
  • @Kritner I checked out the project straight from GitHub and on other PCs is working, so no, I didn't change that file – Gianluca Ghettini Feb 24 '17 at 12:54

2 Answers2

1

Are you using Resharper? If so, it sounds like Resharper has messed up, so I would re-install it.

David Setty
  • 609
  • 1
  • 6
  • 16
0

Reinstalling Resharper did the trick

Shame on Microsoft and shame on that bloated IDE called VS2015

Gianluca Ghettini
  • 11,129
  • 19
  • 93
  • 159