Bug 29721 - [Visual Studio] Xamarin.Forms XAML Intellisense is not deactivated by R#
Summary: [Visual Studio] Xamarin.Forms XAML Intellisense is not deactivated by R#
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms ()
Version: 3.11 (C5)
Hardware: PC Windows
: Highest normal
Target Milestone: ---
Assignee: Enzo Heredia
Depends on:
Reported: 2015-05-04 16:56 UTC by Kent Green [MSFT]
Modified: 2015-09-28 15:11 UTC (History)
6 users (show)

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

Logs & vsixmanifest (7.58 MB, application/zip)
2015-05-04 16:56 UTC, Kent Green [MSFT]

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:

Description Kent Green [MSFT] 2015-05-04 16:56:26 UTC
Created attachment 11057 [details]
Logs & vsixmanifest

From this Enterprise desk case:

Customer reports that XAML Intellisense is conflicting with R#, and that they're unable to disable it. They had previously installed the MobileEssentials tools; however even upon removing these & attempting a workaround it still isn't working for them. 

===Screencast Demonstrating Issue===

This screencast demonstrates that the MobileEssentials / Xamarin.Forms Intellisense separate extension is no longer installed; while the R# extension *is* installed. 

===Failed Workaround===
Additionally, the version info & screencast (near the end showing that same version info); should *not* be showing the Xamarin Intellisense extension in the about box; after the customer performed the following steps that should have been an effective workaround:

1) Go to: %ProgramFiles(x86)%\Microsoft Visual Studio [Version]\Common7\IDE\Extensions\Xamarin\Xamarin\[Version]
2) Select the folder there with your version of the Xamarin plugin (likely 3.11.445.0 if you're still current with the most recent stable.)
3) Open 'extension.vsixmanifest' in a text editor.
4) Comment out the following two lines:

5) nuke %localappdata%\Microsoft\VisualStudio\[VSVersion]\ComponentModelCache
6) If '5' fails, go to 
C:\Program Files (x86)\Microsoft Visual Studio [Version]\Common7\Tools\Shortcuts
And open the Developer Command Prompt. Then run:

devenv /setup

===Version Info===
Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Ultimate

Architecture and Modeling Tools   06181-004-0451013-02373
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2013   06181-004-0451013-02373
Microsoft LightSwitch for Visual Studio 2013

Team Explorer for Visual Studio 2013   06181-004-0451013-02373
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06181-004-0451013-02373
Microsoft Visual Basic 2013

Visual C# 2013   06181-004-0451013-02373
Microsoft Visual C# 2013

Visual C++ 2013   06181-004-0451013-02373
Microsoft Visual C++ 2013

Visual F# 2013   06181-004-0451013-02373
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06181-004-0451013-02373
Microsoft® Visual Studio® 2013 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.

Windows Phone SDK 8.0 - ENU   06181-004-0451013-02373
Windows Phone SDK 8.0 - ENU

ASP.NET and Web Tools   12.4.51016.0
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 Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

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

Common Azure Tools   1.3
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GhostDoc   4.9.15086.0
GhostDoc automatically generates XML documentation comments.

JetBrains ReSharper Platform 6   Build 6.0.20141219.120158 on 2014-12-19 12:56:02Z
JetBrains ReSharper Platform package for Microsoft Visual Studio. For more information about ReSharper Platform, visit http://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.

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

Microsoft Azure HDInsight HQL Service   1.0.0000.0
Language service for Hive query

Microsoft Azure HDInsight Tools for Visual Studio   1.0.0000.0
An integrated development environment for HDInsight application development.

Microsoft Azure Mobile Services Tools   1.3
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools   2.5
Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.5.21104.1601

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

Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.3
Provides file classification services using PowerShell

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

Release Management for Visual Studio Package   1.0
Release Management for Visual Studio

SAPReferenceManager   1.0
Manages References to Shared Projects

Snippetizer   1.0
Information about my package

SQL Server Compact & SQLite Toolbox   4.1.0
SQL Server Compact & SQLite Toolbox adds scripting, import, export, rename, query execution and much more to SQL Server Compact & SQLite Data Connections.

SQL Server Data Tools   12.0.41025.0
Microsoft SQL Server Data Tools

Telerik Windows Phone VSExtensions   2014.6.1124.0
Telerik UI for Windows Phone VSExtensions

VSCommands for Visual Studio 2013   12.0
VSCommands for Visual Studio 2013

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

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

Xamarin   3.11.445.0 (5061f92)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android (d23da369e436488f38c8ab8fe8a9ae7d9ea5256b)
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 (7741cc495ab0baf04ff0405d0604bc27f0ecae2e)
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

===Additional Info===
It seems possible the usage of Mobile Essentials may be key to reproducing the issue, but I haven't been able to definitively determine this.
Attaching customer logs as well as the vsxmanifest file that shows the commented-out XF intellisense lines.
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2015-05-04 17:23:56 UTC
## Possible partial workaround

Manually remove the "Xamarin.Forms Intellisense" part of the XamarinVS extension.

For example, for VS 2013:

1. Delete the following two files:
> C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Xamarin\Xamarin\3.11.445.0\Xamarin.VisualStudio.Forms.Intellisense.pkgdef
> C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Xamarin\Xamarin\3.11.445.0\Xamarin.VisualStudio.Forms.Intellisense.dll

2. Run the following command in an administrator `cmd.exe` command prompt (remove the > greater-than symbol from the beginning of the line):
> "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" /setup /nosetupvstemplates
Comment 3 Kent Green [MSFT] 2015-05-06 11:58:55 UTC
Enterprise customer from the description reports that the workaround described in comment 2 did successfully remove the Xamarin.Forms Intellisense: https://kb.xamarin.com/agent/case/150986
Comment 4 Adrian Alonso 2015-09-28 15:11:11 UTC
We're disabling the Forms intellisense if R# is installed