Forum Visual Studio
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Xamarin Forms Intellisense breaks if Form Views are in different project in Visual Studio for Mac

RogerWeissRogerWeiss ZAMember ✭✭

As the title says. Intellisense breaks if you decide to Move your Xamarin Forms views out of the Core Project its own Project. Not a bad idea if you want certain platforms to be Native but share the Core.

Any ideas how to solve this?

It works in Visual Studio 2017 for Windows.



  • RogerWeissRogerWeiss ZAMember ✭✭

    Found the problem. Now that my ViewModels and Views don't share the same assembly, you have to explicitly set there the ViewModels are found. That must have been what broke Intellisense for Visual Studio for Mac. In other words. changed the line:


    <Mvx:MvxContentPage x:TypeArguments="viewModels:MyViewModel" 
Sign In or Register to comment.