Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

PDFNet.dll lib not taking from shared project references to the droid project references ???????

yashastryyashastry INMember

can any one plz help with this issue,

Answers

  • kentuckerkentucker USMember ✭✭✭✭✭

    Did you try adding the reference to the droid project also? Are you sure the library is compatible with xamarin?

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    Note that you don't normally (can't?) add assembly references to a shared project. References must be added to each individual platform project that uses the shared project.

  • yashastryyashastry INMember

    But if i've to use (pdfnetloader) PDFNET.dll in the individual project like droid ,,, it showing an error like it doesn't support monodroid. thats the reasoni added dll into the shared project, which can be accessed to all the idividuals..

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    As @DaveHunt has pointed out. The shared project is just code - you can't add platform-specific or cross platform DLLs to it, because the code in the project is compiled in the platform-specific projects it is shared with.

    Unfortunately if the DLL in question doesn't support MonoDroid, then you will not be able to use it.
Sign In or Register to comment.