Exception using VB expressions in Visual Studio 2012 RC
-
Monday, June 04, 2012 7:25 PMOwner
When using VB Workflow projects in Visual Studio 2012 RC, you may receive an InvalidCastException while editing expressions. After closing the exception, Intellisense will stop working in your VB expressions. However, you can still successfully author and run your workflows. Highlighting and expression validation will continue to work.
This situation can also occur with C# projects if you target 4.0.
The Visual Studio team is currently working on a fix for this issue.
"This posting is provided "AS IS" with no warranties, and confers no rights"
All Replies
-
Tuesday, June 19, 2012 10:04 PM
The following KB article addresses the problem (includes Hotfix information):
http://support.microsoft.com/KB/2718685
Alternatively, you can download and install the "July 2012 Update for Microsoft Visual Studio 2012 RC" which includes a number of fixes besides the above fix:
http://www.microsoft.com/en-us/download/details.aspx?id=30178
- Edited by Hani Khoshdel-NikkhooMicrosoft Employee Monday, July 16, 2012 3:59 PM
-
Wednesday, June 20, 2012 3:39 AM
If you are hitting this issue, you might find the following blog post helpful:

