How can I get the intellisense working in visual studio 2017 for xamarin?

aspnerdaspnerd USMember ✭✭

I've installed visual studio 2017 enterprise and setup a mobile app with xamarin and for some reason I am not getting intellisense anywhere for xaml or the code behind pages (it's limited it seems).

The big sell was that there would be intellisense. What isn't it working.

http://xamarin.com/schemas/2014/forms seems to be a dead link
http://schemas.microsoft.com/winfx/2009/xaml is unavailable

Answers

  • JimmyGarridoJimmyGarrido USXamarin Team Xamurai

    Welcome to Xamarin, and sorry to hear that you are experiencing this issue!

    I just tested a new project in Visual Studio 2017 and Intellisense worked successfully. Can you share your version information just to confirm you are on the latest version? You can go to Help > About Microsoft Visual Studio > Copy Info to get this info.

    For my test I tested with a new cross platform Forms template project and a native Android project template. Are you seeing this issue with both Android and iOS projects? Does building the project then restarting Visual Studio restore Intellisense?

  • aspnerdaspnerd USMember ✭✭

    Right now I'm just in the base mobile app working with the xaml and code behinds.

    Microsoft Visual Studio Enterprise 2017
    Version 15.1 (26403.3) Release
    VisualStudio.15.Release/15.1.0+26403.3
    Microsoft .NET Framework
    Version 4.6.01586

    Installed Version: Enterprise

    Architecture Diagrams and Analysis Tools 00369-60000-00001-AA060
    Microsoft Architecture Diagrams and Analysis Tools

    Visual Basic 2017 00369-60000-00001-AA060
    Microsoft Visual Basic 2017

    Visual C# 2017 00369-60000-00001-AA060
    Microsoft Visual C# 2017

    Visual C++ 2017 00369-60000-00001-AA060
    Microsoft Visual C++ 2017

    Visual F# 4.1 00369-60000-00001-AA060
    Microsoft Visual F# 4.1

    AndroidSignatureToolCommand Extension 1.0
    AndroidSignatureToolCommand Visual Studio Extension Detailed Info

    ASP.NET and Web Tools 2017 15.0.30320.0
    ASP.NET and Web Tools 2017

    ASP.NET Web Frameworks and Tools 2017 5.2.50303.0
    For additional information, visit https://www.asp.net/

    Azure App Service Tools v3.0.0 15.0.30209.0
    Azure App Service Tools v3.0.0

    Azure Data Lake Node 1.0
    This package contains the Data Lake integration nodes for Server Explorer.

    Azure Data Lake Tools for Visual Studio 2.2.5000.0
    Microsoft Azure Data Lake Tools for Visual Studio

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

    EditorConfig Language Service 1.17.202
    Language service for .editorconfig files.

    EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.

    JavaScript Language Service 2.0
    JavaScript Language Service

    JavaScript Project System 2.0
    JavaScript Project System

    JavaScript UWP Project System 2.0
    JavaScript UWP Project System

    KofePackagePackage Extension 1.0
    KofePackagePackage Visual Studio Extension Detailed Info

    Merq 1.1.17-rc (cba4571)
    Command Bus, Event Stream and Async Manager for Visual Studio extensions.

    Microsoft Azure Hive Query Language Service 2.2.5000.0
    Language service for Hive query

    Microsoft Azure Tools 2.9
    Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

    Microsoft MI-Based Debugger 1.0
    Provides support for connecting Visual Studio to MI compatible debuggers

    Microsoft Visual Studio VC Package 1.0
    Microsoft Visual Studio VC Package

    Mono Debugging for Visual Studio Mono.Debugging.VisualStudio
    Support for debugging Mono processes with Visual Studio.

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

    Redgate ReadyRoll 1.13.23.3401
    Extend DevOps processes to your SQL Server databases and safely automate database deployments.

    Visit https://www.red-gate.com/readyroll for more information.

    Copyright (C) 2011 Red Gate Software Ltd. All rights reserved.

    This software contains components from Component Owl.
    SQL Server is a registered trademark of Microsoft Corporation.
    Visual Studio is a registered trademark of Microsoft Corporation.

    ReadyRoll contains code from the following open source software:

    NuGet https://www.nuget.org/
    SQL LocalDB Wrapper https://github.com/martincostello/sqllocaldb
    Autofac https://autofac.org/
    Json.NET https://json.net/
    MahApps.Metro http://mahapps.com/
    SemVer https://github.com/maxhauser/semver
    Menees Diff Controls http://www.menees.com/
    Log4Net http://logging.apache.org/log4net/
    Extended WPF Toolkit https://wpftoolkit.codeplex.com/
    Code InfoBox VSX http://www.codeproject.com/Articles/55196/Code-InfoBox-Visual-Studio-Extension-VSX
    OctoPack https://github.com/OctopusDeploy/OctoPack
    SQLite https://sqlite.org/

    This product contains icons from http://www.visualpharm.com distributed under a free backlink license.

    For license details or other notices relating to the above software, please see NOTICE.TXT and EULA.rtf in the ReadyRoll application folder.

    Redgate SQL Search 2.4.1.1284
    Search functionality for SQL Server databases, from within Visual Studio

    SQL Server Data Tools 15.1.61702.140
    Microsoft SQL Server Data Tools

    SQLPromptVsPackage 1.0
    Information about my package

    ToolWindowHostedEditor 1.0
    Hosting json editor into a tool window

    TypeScript 2.1.5.0
    TypeScript tools for Visual Studio

    Visual Studio Tools for Universal Windows Apps 15.0.26403.00
    The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

    Xamarin 4.4.0.34 (3f99c5a)
    Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

    Xamarin.Android SDK 7.2.0.7 (b16fb82)
    Xamarin.Android Reference Assemblies and MSBuild support.

    Xamarin.iOS and Xamarin.Mac SDK 10.8.0.174 (7656cc6)
    Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

  • HancoBothaHancoBotha USMember
    edited April 2017

    I have the same issue on VS 2017 Community. The xml schema defaults to the [project dir]\obj\Debug\Schemas instead of C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Xml\Schemas. I have to manually add and remove the schema's for each .axml file to get intellisense to work.

    See this link: https://forums.xamarin.com/discussion/93758/vs-2017-always-choosing-the-wrong-xml-schema

  • aspnerdaspnerd USMember ✭✭

    I ended up having to uninstall all of the mobile development stuff and then reinstalling and then I started to get some intellisense back...

Sign In or Register to comment.