Naografix
Naografix

Reputation: 959

Xamarin forms with .netStandard 2.0, can't reference Core

I can't reference my Interfaces from my .Core project to my Android Project and I don't understand why...

I created a new solution with Visual Studio 2017 in Xamarin.Forms with .Net Standard lib.

And this is what I tried:

enter image description here

With the old .NetFramework Core project method, it worked perfecly, but not now...

Thanks for your help

Upvotes: 1

Views: 778

Answers (1)

TheGeneral
TheGeneral

Reputation: 81583

Ok i understand what you mean now, and i have experienced this before

  1. Make sure your .Net Standard project compiles
  2. Remove and Add the .Net Standard reference back to your Andriod projects

Also try deleting all you bin and object directories for all your projects and restart visual studio and compile again

Xamarin can be very fickle, it will work but you need to make sure it doesn't get confused in the process

Upvotes: 1

Related Questions