Problem with setting Debug Start External Program path

Options
https://doc.photonengine.com/en-us/server/current/plugins/getting-started#debug_mode

I changed Start external program to ..\..\..\deploy\bin_Win64\PhotonSocketServer.exe, and visual studio gives me following error.

External Program Path:
The external program cannot be found. Please enter a valid excutable file.

It works when I click browse and find PhotonSocketServer.exe file but then this has to be set again whenever new developer works on the project.

Comments

  • chvetsov
    Options
    hi @hanjung
    you have to open your solution from Explorer. then correct current folder is set to VisualStudio and everything works like it should. All other questions to Visual Studio developers, please

    we usually set absolute path

    best,
    ilya
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @hanjung,

    Since this is on documentation website, we will add a note about what @chvetsov said (opening Visual Studio from Explorer) or fix the relative path if needed.
    Thank you for your report and your understanding.