问题
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:
With the old .NetFramework Core project method, it worked perfecly, but not now...
Thanks for your help
回答1:
Ok i understand what you mean now, and i have experienced this before
- Make sure your .Net Standard project compiles
- 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
来源:https://stackoverflow.com/questions/50787384/xamarin-forms-with-netstandard-2-0-cant-reference-core