Search code examples
visual-studio-2019intellisensexaml-designer

IntelliSense doesn't work in large XAML file


After updating Visual Studio IntelliSense stopped working in one XAML file where about 2220 lines of code. It works in other files and starts working when I delete part of the code. I tried to delete the .vs folder, delete and add this file and it didn't help


Solution

  • IntelliSense doesn't work in large XAML file

    Please try these steps:

    Suggestion

    1) Close VS Instance, delete bin and obj folder and then restart your project.

    2) Right-click on the XAML file in the Solution Explorer and then select Open With>Source Code (Text) Editor and set it as default.

    3) Right click the XAML file>Properties>Build Action>change it to something else and back

    4) Add a new xaml file under this specific project and check if its intellisense works or not.

    5) If you use Resharper Extension, please disable it under Extensions-->Manage Extensions and then restart your VS.