Why is Resource.Designer.cs not created

橙三吉。 提交于 2019-12-13 17:24:55

问题


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.



来源:https://stackoverflow.com/questions/6414329/why-is-resource-designer-cs-not-created

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!