Winform Project and remote debugging

Sudip Bhatt 2,276 Reputation points
2020-09-18T17:14:49.18+00:00

I have a winform project which i publish a centralize folder and user install application from that folder. so when i update any functionality and give publish then user gets update when they run their application.

Please tell me how could i connect my project to user machine. i am trying to explain here what is happening. when i run application from my code or exe file from my pc then a currency sign is coming but when the same application running in user PC then that currency sign is not coming. i am not able to capture this problem because everything is fine in my pc when running the application but problem occur in user pc when they run the same application.

now i have to install visual studio in user pc then i can run application and capture the issue what is lack there for which currency sign is not coming but installing visual studio in user pc take long time. so tell me how could i do remote debugging connecting user pc.

i saw remote debugging is possible when we work with asp.net but i do not know how remote debugging would be possible when we are working with winform project template.

please advise and guide me step by step details to perform remote debugging. thanks

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,898 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. David Lowndes 4,716 Reputation points
    2020-09-18T18:07:14.69+00:00

    See https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019
    If your development machine is accessible from the user machine, see the "To run the remote debugger from a file share" section.

    0 comments No comments

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.