Difficulty with Clickonce c# Wpf

Asked

Viewed 50 times

0

I have an application and recently I had to implement the Webdriver Phantonjs, which simulates a browser but in a way that is invisible to the user. In my application everything is ok, it works correctly. The problem occurs when I need to export my project through Clickonce that is inside Visual Studio 2019, after publishing and put to download, the same is updated, however when I open the screen that uses webdriver, it gives the error that Phantonjs.exe is missing and prompts me to download it. Follow print attachment of the error as I do so that in the post it imports these files together so that my screen works the same in the test environment?inserir a descrição da imagem aqui

1 answer

0

It is possible that the Phantonjs.exe component is not present in the publication.

Take a look at [Publish] > [Applications File] and check the pop up if it is marked as "Include"

If it is not appearing, check the option "Show All Files"

ps. Also check all other components it uses (dlls, Resources, bla bla).

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.