Cannot get Xamarin Xaml Intellisense working in VS 2015

前端 未结 10 2192
遇见更好的自我
遇见更好的自我 2020-12-07 01:18

I\'ve been trying to get intellisense working for quite some time now, and am unable to see anything outside of

!
![CDATA[
?
  • Visual
相关标签:
10条回答
  • 2020-12-07 01:56

    Seems I had to completely uninstall Resharper, not just disable it. Then reinstall the Enable XAML Language for Xamarin Forms extension.

    0 讨论(0)
  • 2020-12-07 01:57

    I resolved this issue by doing a simple workaround and here is the solution.

    Right-click the XAML file in the Solution Explorer and select

    Solution 1: "Open With... > Source Code (Text) Editor".

    and in another time this also worked for me:

    Solution 2: "Open With... > Source Code (Text) Editor with Encoding"

    Actually, I found that for me it even worked by simply choose: Solution 2: "Open With... > Automatic Editor Selector (XML)" and then reopening VS.

    I also found that the problem began after editing .xaml file outside of VS, by right-clicking the file and choose "Edit".

    0 讨论(0)
  • 2020-12-07 01:58

    This worked for me:

    right click on .xaml file and then select "Open With.." and select "XAML Designer" and also "Set as Default" then intellisense worked great.

    0 讨论(0)
  • Jeff's answer almost worked for me, but I had to do one additional step:

    Because I had previously uninstalled and reinstalled Xamarin, I had to update from 4.0.1 to the latest stable (4.1.1.3 as of this date). After that Intellisense started working!

    0 讨论(0)
  • 2020-12-07 02:00

    I install the Extension Enable XAML Language for Xamarin.Forms from

    Enable XAML Language for Xamarin.Forms

    Still the intellisense was not working. I just need to close all tabs and close the visual studio. After re-starting Visual studio I open solution and XAML file. The instellisense is working fine.

    0 讨论(0)
  • 2020-12-07 02:02

    Extensions > Tools > Enable XAML Language for Xamarin.Forms

    Enable XAML Language for Xamarin.Forms

    Enables the VS built-in XAML language service to provide editing and intellisense for Xamarin.Forms XAML files.

    https://visualstudiogallery.msdn.microsoft.com/8195a8e2-a842-4389-a8cb-34e4672e2e13

    Update:

    From @Jeff:

    Seems I had to completely uninstall Resharper, not just disable it. Then reinstall the "Enable XAML Language for Xamarin Forms extension".

    Additional info:

    http://www.cazzulino.com/enable-xaml-forms-intellisense.html

    Xamarin XAML Enabled:

    XML Enabled and thus no Xamarin XAML Intellisense:

    0 讨论(0)
提交回复
热议问题