简体   繁体   中英

Xamarin Forms Intellisense for Visual Studio

I want to know if an other extension works for Visual Studio to have an Intellisense for xamarin forms

I found a good extension :

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

But as you can see, we have a 404 error...

And this extension not working (I can't see the extension)

http://brianlagunas.com/getting-intellisense-for-xamarin-forms/

Can you help me ?

(I know Resharper but it is not free...)

To get the intellisense for xamarin.forms XAML file, you can close the xaml tab in the Editor windows, right click the xaml file and choose 'Open With…' and select 'Source Code (Text) Editor', then the intellisense works fine as below: 在此处输入图片说明

If the above method works, you can also choose 'Set as Default' when you select 'Open With…''. You can have a look at this similar issue and take care of other tips like reopen all open tabs in VS, restart the VS, clean up the solution and delete the .suo file.

这两个步骤对我有用:1.删除obj文件夹(以删除... g.cs文件)2.清理项目

I had the same problem and none of the answers helped me! I looked at the output window and found an error for long path. So I moved the solution to another folder with a short path, and everything worked well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM