Bug 23389 - Xamarin Extension Breaks MVC 5 Razor Syntax Highlighting/Intellisense
Summary: Xamarin Extension Breaks MVC 5 Razor Syntax Highlighting/Intellisense
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.0.0 (C6)
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-25 22:44 UTC by Cody Beyer (MSFT)
Modified: 2016-12-22 21:04 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description Cody Beyer (MSFT) 2014-09-25 22:44:00 UTC
I'm having an issue with the Xamarin for Visual Studio extension for Visual Studio 2012. When this extension is installed, all Razor syntax highlighting and Intellisense stops working in MVC 5 projects. (MVC 4 works just fine.)

Removing the Xamarin for Visual Studio 2012 feature in the installer resolves this issue - but it is incredibly annoying to have to toggle this feature on and off. Is there a different way for me to permanently resolve this issue?

I'm running Windows 8.1 with Visual Studio Ultimate 2012 (Update 4) and Xamarin 3.6.249.0 installed.

Thanks for your help!
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2015-03-04 14:54:05 UTC
For bookkeeping, I'll note that this was entered into Bugzilla based on a report from the forums:
https://forums.xamarin.com/discussion/24892/xamarin-extension-breaks-mvc-5-razor-syntax-highlighting-intellisense-vs2012

I'll also note that this bug is _not_ a duplicate of bug 26850. (See bug 26850, comment 5.)
Comment 2 Rajneesh Kumar 2015-08-26 07:29:13 UTC
Hi,

I tried to reproduce this issue but not able to reproduce this. To reproduce this issue I have followed the steps mention below :

1. Create an "ASP.NET VC4 web application in VS 2012."
2. Open any cs page and type something.
3. Observed that Syntax Highlighting/Intellisense is working fine.
4. Follow the same steps for "ASP.NET MVC5 web application."

Screencast: http://www.screencast.com/t/KvXOKU6g

Could you please let me know that what steps I am still missing/wrong to reproduce this issue. That would be very helpful to reproduce this issue at our end.

Environment Info:

Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

LightSwitch for Visual Studio 2012   04938-004-0033001-02335
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools   04938-004-0033001-02335
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012   04938-004-0033001-02335
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012   04938-004-0033001-02335
Microsoft Visual Basic 2012

Visual C# 2012   04938-004-0033001-02335
Microsoft Visual C# 2012

Visual C++ 2012   04938-004-0033001-02335
Microsoft Visual C++ 2012

Visual F# 2012   04938-004-0033001-02335
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker   04938-004-0033001-02335
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools   04938-004-0033001-02335
Microsoft Visual Studio 2012 SharePoint Developer Tools

ASP.NET and Web Tools   2013.1.41108
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2013.1   5.0.11113.0
For additional information, visit http://www.asp.net/

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone
Build 

Multilingual App Toolkit   3.1.1250.0
Multilingual App Toolkit helps you localize your Windows Store app by providing file management, pseudo and machine translation, translation editor, and build integration. http://go.microsoft.com/fwlink?linkid=245767

NuGet Package Manager   2.8.60318.667
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   11.1.20627.00
Microsoft SQL Server Data Tools

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.11.837.0 (f10676f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.5.3 (f98871a95a479f6d71b3067b7e5834d41fcb2118)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.4.0 (6db87c53c073f4af2f5247fb738a27ea08c094fd)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 3 Jose Gallardo 2016-12-22 21:04:42 UTC
As we're no longer supporting VS 2012, I'll mark this bug as Resolved / NotOnRoadmap.