Comments (10)
Hi @JeffSE97062
Could you please provide your ".csproj" file? This will help to investigate the issue.
from pdftoprinter.
EmailService.zip
Hi @svishnevsky, file is attached.
from pdftoprinter.
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
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.
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.
Hi @JeffSE97062
Sorry for confusion. Please try 1.3.1 https://www.nuget.org/packages/PDFtoPrinter/1.3.1
from pdftoprinter.
@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.
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.
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.
@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.
@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)
- Is this working on windows service HOT 4
- PdfToPrint.exe is missing HOT 4
- Network printer not working HOT 4
- CleanupFilesPrinter not removing files HOT 12
- The system cannot find the file specified HOT 6
- Resize PDF HOT 3
- Multi Printer HOT 2
- select printer tray HOT 1
- Suggestion: Print PDF from a stream HOT 1
- use `<PublishSingleFile>true</PublishSingleFile>` not found directory name. HOT 2
- File structure changes when publishing HOT 5
- focus parameter
- The system cannot find the file specefied HOT 1
- Issue with printing with concurrency that one of the files stays with PDF XChange Viewer open blocking HOT 15
- execute multiple time HOT 1
- 打印不同文件且不同份数 请问如何实现
- Portrait and Landscape Printing HOT 1
- How to print with option "Choose paper source by PDF page size"? HOT 1
- Is it possible to control the duplex parameter?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdftoprinter.