Why is Resource.Designer.cs not created

2019-08-14 15:02发布

问题:

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!

回答1:

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