I'm able to create PDFs in my C#/WPF application and run them with the following:
Process.Start(_pathToPDFFile);
This works with Adobe Acrobat, but not with Adobe Reader. When Adobe Reader is installed, Process.Start()
does nothing unless the Reader process is already running in the Task Manager.
How can I get Adobe Reader to show the PDF when I attempt to start a PDF?
In our case, the problem was only reproducible when starting the application from Visual Studio - starting the .exe directly works as expected.
After some debugging, it turned out that Visual Studio was set to always run as administrator, which causes the issue. Turning this off (which is hard enough itself) fixes the problem.
Still not sure why this happens, though.