Microsoft.Testing.Platform FAQ - .NET (original) (raw)

This article contains answers to commonly asked questions about Microsoft.Testing.Platform.

error CS8892: Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'Program.Main(string[])' was found

Manually defining an entry point (Main) in a test project or referencing a test project from an application that already has an entry point results in a conflict with the entry point generated by Microsoft.Testing.Platform. To avoid this issue, take one of these steps:

Microsoft.Testing.Extensions.Fakes

Fakes error Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables

This error can occur if not all of the Fakes assemblies are present in the bin folder.