Home Dashboard Directory Help
Search

SP1 Breaks Razor editor by Sean Hederman


Status: 

Closed
 as By Design Help for as By Design


6
0
Sign in
to vote
Type: Bug
ID: 651252
Opened: 3/14/2011 1:47:10 AM
Access Restriction: Public
0
Workaround(s)
view
2
User(s) can reproduce this bug

Description

Installed service pack 1, Razor intellisense is now broken, and pasting into a .cshtml file hangs the IDE for several seconds (10+).
Details
Sign in to post a comment.
Posted by Microsoft on 3/23/2011 at 9:58 AM
Thanks Sean and Hal for the confirmation. Will mark this bug as closed.
Posted by Sean Hederman on 3/22/2011 at 2:52 AM
Yep, worked. Had the same problem uninstalling ASP.NET Web Pages, but everything appears to be 100% now. Could have sworn my PC had RTM; but clearly a PEBKAC problem ;-)
Posted by Hal Lesesne on 3/21/2011 at 12:34 PM
Yes - turns out I had RC installed as well. The solution you provided worked well (although I did run into a problem uninstalling RC and had to follow these instructions to get ASP.NET Web Pages uninstalled: http://blog.williamhilsum.com/2011/03/error-0x80070643-installing-aspnet-mvc.html?showComment=1300730301942#c5917003648915633578 )

Thanks for the help.

Best regards,

Hal
Posted by Microsoft on 3/21/2011 at 10:31 AM
Hi Hal,
Can you check the System.web.mvc.dll version. Do you have MVC3 RC installed on the box? If yes can you please follow the prev post to uninstall MVC 3 RC and install MVC3 RTM.
If this doesn't fix your problem, can you please email me the logs at deepakv at microsoft dot com
Log files can be found in %temp% directory. Please share the log files that contains "mvc3" and "KB2483190"

Thanks,
Deepak
Posted by Microsoft on 3/21/2011 at 10:21 AM
Thanks Sean for the details. From the version of System.web.MVC.dll it looks like you have MVC3 RC installed. Can you please uninstall MVC3 RC by following Drew Miller's blog here http://drew-prog.blogspot.com/2010/11/how-to-uninstall-microsoft-aspnet-mvc-3.html

After that you can install MVC3 RTM from this link http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d2928bc1-f48c-4e95-a064-2a455a22c8f6&displaylang=en

Please let me know how it goes.

Thanks,
Deepak
Posted by Hal Lesesne on 3/21/2011 at 10:15 AM
can anyone offer any guidance on whether or not an SP1 uninstall will break Visual Studio to the point that I can't open projects or reinstall SP1? I tried a reapply (of SP1) from the control panel and it didn't solve the problem, but was going to uninstall and received a nag screen stating something similar.

I really don't want to do a complete VS install because of a pressing deadline.

Thanks. Hal
Posted by Hal Lesesne on 3/21/2011 at 8:56 AM
Just to update this issue - I've uninstalled all plugins and extensions in VS and disabled Resharper. I then reinstalled SP1 using the Web PI.

Same behavior, no change.
Posted by Hal Lesesne on 3/18/2011 at 11:28 AM
In addition to pasting delays (also 10+ seconds), I am getting a keypress delay as well.
Posted by Hal Lesesne on 3/18/2011 at 7:56 AM
Exact same problem. Post SP1 install.

Windows 7
x64
Reinstalled MVC 3 - no change.

From VS About:
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel

Installed Version: Professional

Microsoft Office Developer Tools 01018-532-2002102-70558
Microsoft Office Developer Tools

Microsoft Visual Basic 2010 01018-532-2002102-70558
Microsoft Visual Basic 2010

Microsoft Visual C# 2010 01018-532-2002102-70558
Microsoft Visual C# 2010

Microsoft Visual C++ 2010 01018-532-2002102-70558
Microsoft Visual C++ 2010

Microsoft Visual F# 2010 01018-532-2002102-70558
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Team Explorer 01018-532-2002102-70558
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010 01018-532-2002102-70558
Microsoft Visual Web Developer 2010

Add Reference Dialog Plus! 1.0
An significantly enhanced Add Reference dialog for managed code projects.

AlignAssignments 1.0
Command for aligning assignments.

AutoBraceComplete 1.0
auto brace complete

Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010

Document Well 2010 Plus 1.0.10916.0
This package provides configurable behavior for the Document Well and its tabs. Please be sure to let us know what you like/dislike about this extension.

ExtensionUpdateCheck 1.0
Shows a notification icon in the system tray after Visual Studio startup if there are updates available for any installed extensions.

JetBrains dotCover 1.0 Full Edition build 1.0.97.18 on 2010-09-14T19:23:52
JetBrains dotCover 1.0 package for Microsoft Visual Studio. For more information about dotCover, visit http://www.jetbrains.com/dotcover/. Copyright © 2009–2011 JetBrains, Inc.

JetBrains ReSharper 5.1 Full Edition build 5.1.3000.12 on 2011-01-28T05:05:56
JetBrains ReSharper 5.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2011 JetBrains, Inc.

Microsoft Moles 1.0.0.0
Moles generator for Visual Studio

Microsoft Open Data Protocol Visualizer 1.0
Microsoft Open Data Protocol Visualizer provides a read-only graphical view of the types and relationships provided by a WCF Data Service. Once this extension is installed, you can right-click any WCF Data Service reference and select ‘View in Diagram’

Microsoft Package Manager 1.0
Package Manager in Visual Studio

Microsoft Pex 0.94.51006.1
Microsoft Pex Visual Studio Extensions

Microsoft Visual Studio 2010 Professional - ENU Service Pack 1 (KB983509) KB983509
This service pack is for Microsoft Visual Studio 2010 Professional - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.

Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft.VisualStudio.QuickAccess.Package 1.0
Awesome search bar.

PowerGUIExt 1.0
PowerGUI integrated into Visual Studio.

tangible T4 Editor 1.0
tangible T4 Text Template Editor - T4 Editor

Windows Azure Tools Version 1.3
Windows Azure Tools for Microsoft Visual Studio 2010 v1.3.31122.1601

WoVS Toolkit 1.0
Provides automation for creating WoVS extensions.

.NET Reflector
Visual Studio add-in that integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them.
Visit www.red-gate.com for more information.
Copyright (c) 2009-2010 Red Gate Software Inc.

Visual Git
Henk Westhuis

VMDebugger
For more information about VMware Inc, see their website at
http://www.vmware.com
Copyright (c) 2010 VMware, Inc.
Posted by Sean Hederman on 3/17/2011 at 1:46 AM
1. AFAIK it's STM. IN Help|About it says "Version 10.0.40219.1 SP1Rel"
2. Yes. MVC3 RTM AFAIK. File Version for System.Web.Mvc.dll is "3.0.11029.0"
3. VS 2010 -> MVC 3 -> VS2010 SP1. Should I try reapply it?
4. Windows 7
5. x64
6. No colorization/intellisense on a new file. Note that HTML intellisense & colorization works, but not Razor. Screenshot attached of new file.
7. Anything with Razor syntax in it, e.g. "@Html.ValidationMessageFor(x => x.Description)", but not "<td></td>"
8. No matching files from "C:\Windows\Temp", is there anywhere else I must look?
Posted by Microsoft on 3/16/2011 at 9:57 AM
Hi Sean,

Thanks for reporting the issue. It would be great if you can please give us some more details to help us repro the issue in our labs

1. Are you using VS 2010 SP1 RTM or Beta?
2. Do you have MVC 3 installed on your box? Is the version of MVC3 beta/RC/RTM?
3. Can you please let us know the order of installation of VS 2010 SP and MVC 3?
4. OS version
5. x86/x64
6. Are you able to repro this issue only when you copy/paste or does it repro when you create a new cshtml file and start typing (i.e. not intellisense colorization etc comes up)?
7. Can you share the code snippet that breaks Razor on copy paste?
7. Can you please share log files from your temp directory. Please share the log files that contains "mvc3" and "KB2483190"

Thanks,
Deepak, SDET, Web Platform and Tools
Posted by Microsoft on 3/15/2011 at 2:49 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by Microsoft on 3/14/2011 at 2:12 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
ss.png 3/17/2011 8 KB