Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "Could not find Test Containers for requested projects" message in VS output window?

When I build my VS2015 solution I'm getting "Could not find Test Containers for requested projects" in my output window. It's in the "Tests" output---which is getting displayed automatically on publishing my (MVC) projects.

This has only started happening recently.

I have some MSTest projects in the solution.

I'm using Resharper. I mention this as the only search hits I got on the message were pages about Resharper.

What do these messages mean and, more importantly, how do I get rid of them?

I have VS 14.0.25431.01 Update 3 and Resharper 2016.2.2.

like image 686
dommer Avatar asked Oct 03 '16 16:10

dommer


3 Answers

Seems like the best solution currently is to disable MSTest support in Resharper.

Go to Resharper | Options | Tools | Unit Testing | MsTest and uncheck Enable MSTest support.

Solved the problem for a few people, but obviously disables the MSTest support you get with Reshaper. So, we have to decide on the lessor of two evils for now.

like image 191
dommer Avatar answered Oct 21 '22 08:10

dommer


I got rid of mine by

  1. Navigating to Help | Register Product
  2. Sign Out
  3. Sign In

I have no idea why this worked for me, and no real good reason to have tried it in the first place.

like image 24
Skip Saillors Avatar answered Oct 21 '22 08:10

Skip Saillors


As for me if i published in debug configuration - everything was ok. But with release i had the same problem. Next steps helped me: - Switched to Release configuration - Clean/rebuild solution - Publish it

like image 44
Apostol Occulta Avatar answered Oct 21 '22 08:10

Apostol Occulta