I'm the author of Gallio which includes NCover integration so I was curious to see what NCover would do on .Net 4.0 Beta 1. I didn't expect it to work (it didn't). However I'm curious as to whether anyone could enlighten me as regards the error message since it suggests a workaround that might be useful to NCover v1.5.8 community edition users someday.
.NET Runtime version 4.0.20506.1 - Loading profiler failed. The profiler that was configured to load was designed for an older version of the CLR. You can use the COMPLUS_ProfAPI_ProfilerCompatibilitySetting
environment variable to allow older profilers to be loaded by the current version of the CLR. Please consult the documentation for information on how to use this environment variable, and the risks associated with it. Profiler CLSID: '{9721F7EB-5F92-447c-9F75-79278052B7BA}'. Process ID (decimal): 5724. Message ID: [0x2517].
Googling for COMPLUS_ProfAPI_ProfilerCompatibilitySetting
turned up no results. Any clues?