CS0117 'Resource.*' does not contain a definition for '*' error when building

2 posts, 0 answers
  1. Bimar
    Bimar avatar
    20 posts
    Member since:
    Jan 2006

    Posted 29 Apr 2016 Link to this post

    We are developing Xamarin Forms (Portable) project and want to use telerik components. We added necessary dll's and codes as described but when we try to build the MyProject.Droid project, we are facing with hundreds of CS0117 'Resource.*' does not contain a definition for '*' error when building errors. Our latest references are Xamarin forms version, support library v8 23.2.1, android SDK api 23 (6.0) and Xamarin.android.support.* 23.3.0. Do you have any idea?
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1251 posts

    Posted 29 Apr 2016 Link to this post

    Hello Bimar,

    Thank you for contacting us on that matter with detailed description on your setup.
    Let me get straight to your issue. I can tell that the references you are trying to use are not the references that our binaries are built against. Hence errors reporting for missing resources are expected. 

    Now to the fix:
    I would like to turn your attention to our Required Android Support Libraries article. It contains information for all the required assemblies and concrete versions that our UI components are built against. Please try installing the versions that are listed in the article and then go ahead and delete all bin and obj folders of your solution. This will ensure that your solution has only the versions that you have just installed.

    This fix works in 99.9% of the reported cases. I hope this information will bring you back on your development path. Let us know if you need any further assistance.

    Pavel R. Pavlov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top