Giter VIP home page Giter VIP logo

Comments (10)

svishnevsky avatar svishnevsky commented on June 1, 2024

Hi @JeffSE97062

Could you please provide your ".csproj" file? This will help to investigate the issue.

from pdftoprinter.

JeffSE97062 avatar JeffSE97062 commented on June 1, 2024

EmailService.zip
Hi @svishnevsky, file is attached.

from pdftoprinter.

svishnevsky avatar svishnevsky commented on June 1, 2024

Hi @JeffSE97062
Could you please try version 1.3.1 of the package and let me know if it works? (https://www.nuget.org/packages/PDFtoPrinter/1.3.2)

As I see the issue is in https://github.com/svishnevsky/PDFtoPrinter/blob/master/PDFtoPrinter/build/PDFtoPrinter.targets
image
However it is required for other projects. I still trying different conditions to do not break existing platforms support. Will keep you updated if I'll find an options to support all cases.

from pdftoprinter.

JeffSE97062 avatar JeffSE97062 commented on June 1, 2024

Hi @svishnevsky, your last message said to try 1.3.1 but your link is to 1.3.2. Can you please clarify?

from pdftoprinter.

svishnevsky avatar svishnevsky commented on June 1, 2024

Hi @JeffSE97062
Sorry for confusion. Please try 1.3.1 https://www.nuget.org/packages/PDFtoPrinter/1.3.1

from pdftoprinter.

JeffSE97062 avatar JeffSE97062 commented on June 1, 2024

@svishnevsky 1.3.1 installed without errors, but the project wouldn't build because it couldn't find the file "...packages\PDFtoPrinter.1.3.1\buildPDF-XChange Viewer Settings.dat". I copied the file (not sure if version matters??) into the expected folder and the project built successfully, but I received the same error: "The system cannot find the file specified".

from pdftoprinter.

TinaKopp avatar TinaKopp commented on June 1, 2024

I believe that the file not found is PDFtoPrinter.exe on Process Start. I am getting this error, even with PDFtoPrinter.exe and .dll (as well as PDF-X-Change Viewer Settings.dat) in the bin folder.

from pdftoprinter.

JeffSE97062 avatar JeffSE97062 commented on June 1, 2024

That file is in my bin as well as the dll. Identical setup in a console app works, just not in a web service. Seems to work in a Windows service as well.

from pdftoprinter.

svishnevsky avatar svishnevsky commented on June 1, 2024

@JeffSE97062 sorry for the long response, it is not easy to reproduce this issue. What approach do you use to build a windows service? I use in person Topshelf and it works fine.

from pdftoprinter.

JeffSE97062 avatar JeffSE97062 commented on June 1, 2024

@svishnevsky I am actually getting the file-not-found error in a .NET web (not Windows) service. I am using VS 2013 .NET 4.5 with the 1.3.1 Nuget package installed. Solution compiles OK.

from pdftoprinter.

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.