Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8751137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:59:20+00:00 2026-06-13T12:59:20+00:00

Is it possible to access files (with build action AndroidAsset) from a monodroid class

  • 0

Is it possible to access files (with build action “AndroidAsset”) from a monodroid class library in a monodroid application that references the class library ?

I have created an “Assets” folder in the class lib and added a text file with build action “AndroidAsset”, but from the app I could not access it via Assets.Open(“file.txt”);

I was hoping that the Assets from the class lib and the main application could somehow be “merged”…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:59:21+00:00Added an answer on June 13, 2026 at 12:59 pm

    No – you a can’t access the assets from a class lib – only from the main exe project.

    This is similar to the situation with Java Android projects.


    One route around this might be to use embedded resources instead – see the answer to this question I asked on xamarin’s forums – http://forums.xamarin.com/discussion/186/is-there-a-cross-platform-way-to-include-string-resources-from-class-library-projects – note that I haven’t tried this yet

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# (2008/.NET 3.5) class library assembly that supports WPF (based on
I am developing a parser application to build a call tree from DDL files
Is it possible to load a premain-class from a jar library packed within a
Is it possible to access Rails.env inside Sass files? I'm trying to do it
Is it somehow possible to access a user's public key files (located in ~/.ssh
Is it possible to access the queries and procedures in a file created by
Is it possible to access a class member without an instance of the class?
Is it possible to access b2Fixture and b2Body properties in one class in another
Background I have a few scripts that run as part of my build process
I'm trying to build an object that looks something like this: public class MyObject

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.