locked
XAML Intellisense not available VS2017 - Xamarin University RRS feed

  • Question

  • User327746 posted

    I just started out using Visual Studio 2017 in combination with Xamarin to experiment and follow some tutorials. I've used previous editions before, but mostly for webdevelopment. One of the things that got me stuck almost immediately is that the XAML Intellisense is not working. Yes, it is something I can work around. But it makes development quite hard and annoying, since the whole reason for working in an IDE like VS2017 is the autocompletion, code inspection and such.

    Steps to reproduce this issue are the following:

    1. Install a clean version of VS2017 Community Edition
    2. Open the Visual Studio Installer and install the "Mobile Development with .NET" workload
    3. Download the 'starter solution' example in the following Tutorial: https://elearning.xamarin.com/forms/xam130/exercise1/
    4. Apply the updates it asks you to install (apparently, the solution is not by default compatible with VS2017)
    5. Create a new XAML file in the PCL Directory (which is step 2 from the tutorial)
    6. Edit the XAML file, no intellisense is present

    Notes: * I managed to get Intellisense working in a project where I started out from scratch. But cannot get it to work in this tutorial. * The intellisense I do get is looking like this:


    I have the following versions installed:

    Microsoft Visual Studio Community 2017 Version 15.2 (26430.12) Release VisualStudio.15.Release/15.2.0+26430.12 Microsoft .NET Framework Version 4.6.01586

    Installed Version: Community

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

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

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

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

    Application Insights Tools for Visual Studio Package 8.6.00404.2 Application Insights Tools for Visual Studio

    ASP.NET and Web Tools 2017 15.0.30503.0 ASP.NET and Web Tools 2017

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

    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

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

    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.2.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

    TypeScript 2.2.2.0 TypeScript tools for Visual Studio

    Visual Studio Tools for Universal Windows Apps 15.0.26430.06 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.5.0.476 (1be4f0c) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

    Xamarin.Android SDK 7.3.1.2 (9dbc4c5) Xamarin.Android Reference Assemblies and MSBuild support.

    Xamarin.iOS and Xamarin.Mac SDK 10.10.0.35 (4cffddf) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

    Friday, June 9, 2017 12:19 PM

Answers

  • User327746 posted

    I've already found a solution to this issue (still annoying that it doesn't work out of the box, but okay).

    Click the projects in the solution and choose unload. Then, right after they have been unloaded. Click the projects and reload them again. The XAML Intellisense should be working now.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, June 9, 2017 12:26 PM

All replies

  • User327746 posted

    I've already found a solution to this issue (still annoying that it doesn't work out of the box, but okay).

    Click the projects in the solution and choose unload. Then, right after they have been unloaded. Click the projects and reload them again. The XAML Intellisense should be working now.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, June 9, 2017 12:26 PM
  • User321338 posted

    this do not work for me :( HELP

    Thursday, June 15, 2017 5:23 PM
  • User231602 posted

    @KayoHamid do you have Resharper in vs? you can try turn off it and then check. it's helped for me

    Friday, June 16, 2017 7:30 AM
  • User321338 posted

    Hello @DamirBeylkhanov, no I do not have Resharper.

    Friday, June 16, 2017 7:22 PM
  • User282595 posted

    I also tried Unload, reload projects - does not help!

    Tuesday, June 20, 2017 8:55 AM