"Unable to evaluate expression" and Async CTP

Some time ago I installed Visual Studio Async CTP

And today I installed ASP.NET MVC 3 (not RC).

I start receiving "Unable to evaluate expression" in debug mode.

So, I uninstalled Async CTP, ASP.NET MVC 3 and all related updates, but without any results. Would anyone be so kind as to help me figure it out?

Message example:

Unable to evaluate expression term 'struct' 
+4
source share
4 answers

Completely remove all components of the visual studio helped me.

0
source

OK, here is my experience. I finally got it working ... and it did not require a complete removal of VS 2010.

First of all, I'm not sure if I installed ASP NET MVC 3 RC or not. I already had ASP.NET MVC 3 RTM, and then Async CTP was installed. I started getting the described problems and then deleted Async CTP and MVC 3, it didn’t help ... Later I realized that I didn’t do enough:

In the control panel:

  • Remove ASP NET MVC 3
  • Uninstall ASP.NET MVC 3 Visual Studio Tools
  • Removing ASP NET Web Pages
  • Removing ASP NET Visual Studio Tools Web Pages
  • Delete Web Matrix

Then click "View installed updates" in the Control Panel-> Uninstall a program:

  • Remove Async CTP
  • Delete kb2483190

Now install RTM MVC 3 RTM and it should work.

+1
source

This problem appears to occur when both MVC 3 RC and the .NET Framework Async CTP are installed on the same computer.

You need to remove MVC 3 RC, but since it also comes with ASP.NET, NuGet and Visual Studio update web pages, they must be removed with it.

To open a Visual Studio * command prompt with administrator privileges and run all of the following commands:

wmic product, where name = "Microsoft ASP.NET MVC 3 - Visual Studio 2010 Tools" causes deletion

wmic product, where name = "Microsoft ASP.NET MVC 3 - VWD Express 2010 Tools" causes deletion

wmic product, where name = "Delete Microsoft ASP.NET Web Pages"

wmic product, where name = "Microsoft ASP.NET Web Pages - Visual Studio 2010 Tools" causes deletion

wmic product, where name = "Microsoft ASP.NET Web Pages - VWD Express 2010 Tools" causes deletion

wmic-product in which name = "NuGet" remove the delete

msiexec / package {BC0464FA-A0BA-3E38-85BF-DC5B3A401F48} / remove {3069D446-63C5-38F4-9D28-41858024419C}

msiexec / package {85076DFF-7A17-3566-9CC0-488E6E6D4494} / remove {3069D446-63C5-38F4-9D28-41858024419C}

If the problem still persists, uninstall the .NET Framework Async CTP.

+1
source

This error message usually occurs when there is a rather critical error trying to load the language expression evaluator in the debugger or if the expression evaluator itself has a configuration problem. The next thing I will try is to repair the installation of Visual Studio. This will almost certainly clarify this error.

0
source

Source: https://habr.com/ru/post/1336363/


All Articles