Giter Club home page Giter Club logo

Comments (7)

MishaUliutin avatar MishaUliutin commented on July 28, 2024

What do you mean? Could share your exception?

BR,
Misha U.

from mupdf.winrt.

eng-dev avatar eng-dev commented on July 28, 2024

i only want to display pdf file in my wp8 application so i add FileViewerPageViewModel.cs &PdfImageViewerDataSource.cs when i add MuPDFWinRT.dll i use vs2012 i found this

untitled

from mupdf.winrt.

MishaUliutin avatar MishaUliutin commented on July 28, 2024

hmm, could you check please that you use right version of MuPDF for right platform? (ARM for ARM, x86 for x86)?
You could find example there - https://bitbucket.org/mishauliutin/pdf-reader-for-wp8-public

from mupdf.winrt.

eng-dev avatar eng-dev commented on July 28, 2024

I uploaded my project Could you please look at it and give me your feedbackhttps://onedrive.live.com/redir?resid=7BAC31E811886739!341&authkey=!AMPXLwLjX9icOzY&ithint=file%2c.rar

from mupdf.winrt.

eng-dev avatar eng-dev commented on July 28, 2024

The problem in .Net Framework version Could you please upgrade it from .NET Framework 3.5 to .NET Framework 4.5?

from mupdf.winrt.

MishaUliutin avatar MishaUliutin commented on July 28, 2024

no, you could not use .Net Framework 3.5 on WP8 at all, so project is .Net Framework 4.5.
The problem in your project that you should use separate version for x86 and ARM configuration (x86 uses by Emulator, ARM is on device), so you should build (or get from this project https://bitbucket.org/mishauliutin/pdf-reader-for-wp8-public) separate version of dll for x86 and for ARM and than add such code to you csproj file:

<Reference Include="MuPDFWinRT, Version=255.255.255.255, Culture=neutral, processorArchitecture=MSIL" Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>..\xternals\MuPDF\x86\MuPDFWinRT.winmd</HintPath>
</Reference>
<Reference Include="MuPDFWinRT, Version=255.255.255.255, Culture=neutral, processorArchitecture=MSIL" Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>..\xternals\MuPDF\x86\MuPDFWinRT.winmd</HintPath>
</Reference>
<Reference Include="MuPDFWinRT, Version=255.255.255.255, Culture=neutral, processorArchitecture=MSIL" Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM' ">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>..\xternals\MuPDF\ARM\MuPDFWinRT.winmd</HintPath>
</Reference>
<Reference Include="MuPDFWinRT, Version=255.255.255.255, Culture=neutral, processorArchitecture=MSIL" Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM' ">
  <SpecificVersion>False</SpecificVersion>
  <HintPath>..\xternals\MuPDF\ARM\MuPDFWinRT.winmd</HintPath>
</Reference>

where ..\xternals\MuPDF\ARM - path to ARM version of MuPDF dll and ..\xternals\MuPDF\x86 - path to x86 version of dll. You could find example there https://bitbucket.org/mishauliutin/pdf-reader-for-wp8-public/src/8974b17561239823f1974ece7458ad35979f4532/PdfReader/PdfReader.csproj?at=default

from mupdf.winrt.

eng-dev avatar eng-dev commented on July 28, 2024

I did all of that but also can't add MuPDFWinRT.dll

from mupdf.winrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.