Skip to main content

Visual Studio error: The runtime has refused to evaluate the expression at this time

To debug an issue inside one of my applications, I added a conditional breakpoint and used the following expression ‘container.Registrations.Count() <10’.

No luck however… When I tried to run the application Visual Studio started to complain and showed the following error message:

clip_image002

No idea why this doesn’t work Bedroefde emoticon

Anyone who knows how to fix this or has an explanation why it doesn’t work?