1

I created a class library (Mono for Android) and put the folders Resources/Drawable, Resources/Layout and Resources/Values in it.

Unfortunately the file Resource.Designer.cs is not created automatically. I've all xml-Files set on BuildAction "AndroidResource"... but no recource file is created.

DO I have to do something else?

Thanks a lot!

Sebastian
  • 11
  • 2

1 Answers1

0

There isn't support for resources in a class library project. Resources must be in the main application project.

jpobst
  • 9,982
  • 1
  • 29
  • 33
  • For those finding this question via search: Resources in class lib projects are now supported in Mono for Andoid 4.4 and later. See http://docs.xamarin.com/releases/android/mono_for_android_4/mono_for_android_4.4 – Andy Johnson Oct 09 '13 at 12:03