ClickOnce application run well on visual studio, fail at runtime after deploy

Kadam, Pritam A 1 Reputation point
2020-07-16T19:22:24.01+00:00

Hi,

I have created a ClickOnce application to deploy on windows 10 64 bit machine.
.net version 4.7.2
I am using a custom-developed dll in it. This dll comes with a config file for a reference.
my code runs well from visual studio 2017.

After I publish my code and install it on the machine, it starts running but fails when code reaches to first-line where custom dll code reached.
Does not throw a specific error message so I can fix the issue. Try-catch also not work here. application crash only.

My observation is custom dll config present in debug folder when I run via visual studio, but missing in the deployed folder.
I this custom file manually, still does not help.

Need help.

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 86,026 Reputation points
    2020-07-16T19:38:14.373+00:00

    Hi,

    ClickOnce is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated ClickOnce and Setup & Deployment Projects forum over here:
    https://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winformssetup

    (Please don't forget to accept helpful replies as answer)

    Best regards,
    Leon


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.