I have a VS2012 solution with two F# projects targeting .NET 4.5. The project B is a MSTest unit test project for the project A. When building the Solution in Debug mode, the Test Explorer identifies 4 unit tests that can be properly executed. But when at least one project is built in Release mode, than
No test are found!
One important detail is both projects are signed and appropriate InternalsVisibleTo attributes are applied (in debug mode it works).
I have Debug and Release -.testsettings, that are default except the execution timeouts.
What am I missing?
I have a VS2012 solution with two F# projects targeting .NET 4.5. The project
Share
To clarify — when you build both projects in Debug mode (by building the solution) the tests are found, but if you build either project in Release mode the tests aren’t found? My first guess — something is wrong with one (or both) of your project configurations in release mode. Some settings (like strong-name signing) are configuration-specific, so it’s easy to forget to set them for both configurations.