I have been trying to use Xamarin with Visual Studion 2015 on Windows 10 platform. I am not able to use Intellisense for AXML, which is quite frustrating . Any solutions ???
相关问题
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- Visual Studio 2019 - error MSB8020: The build tool
- 'System.Threading.ThreadAbortException' in
- VS2017 RC - The following error occurred when tryi
相关文章
- How to show location of errors, references to memb
- How to track MongoDB requests from a console appli
- Visual Studio Hangs on Loading UI Library
- How to use Mercurial from Visual Studio 2010?
- Copy different file to output directory for releas
- Xamarin form MessagingCenter Unsubscribe is not wo
- Reload data on tab selected in a fragment using vi
- Edit & Continue doesn't work
Here what worked actually.....thanks to BOB! (not really)
Do both add the two schema files to your project and open with XML Text editor and not the default Android Designer......
and go to hell bob.
from solution Cannot get Xamarin Xaml Intellisense working in VS 2015
The reason why Intellisense is not appear in editor is that Xamarin XAML is not opened as file with content type xaml but file with content type xml. To open xamarin XAML file as file with content type xaml simply in solution explorer right click the xaml file and select Open With... In popup select "XAML Designer with Encoding" and click OK.
You need to add the xsd-schemas for android layout files to Visual Studio.
Copy android-layout-xml.xsd and schemas.android.com.apk.res.android.xsd from C:\Program Files (x86)\Xamarin Studio\AddIns\MonoDevelop.MonoDroid\schemas to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Xml\Schemas
You can then "Add" these schemas inside Visual Studio via the XML -> Schemas -> Add dialog.
You need to add the xsd-schemas for android layout files to Visual Studio.
Copy
android-layout-xml.xsd
andschemas.android.com.apk.res.android.xsd
fromC:\Program Files (x86)\Xamarin Studio\AddIns\MonoDevelop.MonoDroid\schemas
toC:\Program Files (x86)\Microsoft Visual Studio 14.0\Xml\Schemas
You can then "Add" these schemas inside Visual Studio via the
XML -> Schemas -> Add
dialog.It's described in the Xamarin Knowledgebase.