PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Process.Start()
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4257
Page 1 of 1

Author:  Sascha [ Sat May 29, 2021 10:48 am ]
Post subject:  Process.Start()

Hello,
i got a Problem with creating an PDF.

When i create a PDF i get this error:
Quote:
System.ComponentModel.Win32Exception: "The specified executable is not a valid application for this OS platform."


I use .NET 5.0

Maybe is this a Problem? I dont know how i can install .NET 4.7

Greetings
Sascha

Author:  Thomas Hoevel [ Tue Jun 01, 2021 8:15 am ]
Post subject:  Re: Process.Start()

Hi!
Sascha wrote:
I use .NET 5.0
So it seems you are not using our software.

Can you start PDF files in a CMD console using START?

Process.Start is invoked after creating the PDF. So maybe the PDF was created, but the PDF viewer cannot be started.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/