App from scratch - app does not appears in the photon controle
Options
Aherys
✭
Hey, actually following the tutorial "app from scratch" of documentation for photon server.
As you can see, the application chatserver is missing,
The code is strictly the same of the tutorial, and no namespace.
Here the hierarchy and folders
PhotonServer.config is stricly the same as the tutorial.
ServerChat.dll is generated under visual studio as NET Core class library, in debug mode.
Any idea ?
Thanks !
As you can see, the application chatserver is missing,
The code is strictly the same of the tutorial, and no namespace.
Here the hierarchy and folders
PhotonServer.config is stricly the same as the tutorial.
ServerChat.dll is generated under visual studio as NET Core class library, in debug mode.
Any idea ?
Thanks !
0
Comments
-
it could be because PhotonControl does not see correct config.
did you start it from correct folder?
best,
ilya0 -
I think yes, from the folder on the screen.
There is a way to check this ? like log ? or do you need something ?
Thanks !0 -
Understood, so maybe it's .net Core who do the "bug" ?
here the config :<ChatServer DisplayName="Chat Server"> <TCPListeners> <TCPListener IPAddress="0.0.0.0" Port="4530" OverrideApplication="ChatServer" > </TCPListener> </TCPListeners> <!-- Defines the Photon Runtime Assembly to use. --> <Runtime Assembly="PhotonHostRuntime, Culture=neutral" Type="PhotonHostRuntime.PhotonDomainManager" UnhandledExceptionPolicy="Ignore"> </Runtime> <!-- other elements --> <Applications Default="ChatServer"> <Application Name="ChatServer" BaseDirectory="ChatServer" Assembly="ChatServer" Type="ChatServer"> </Application> <!-- any other applications --> </Applications> <!-- other elements --> </ChatServer>
Here a screen copy to have the formated config file :
Path of PhotonControle.exe AND Config
D :\ROFI\TEST AREA\Network Test A\Photon\deploy\bin_Win64
Path of ChatServer
D :\ROFI\TEST AREA\Network Test A\Photon\deploy\ChatServer\bin0 -
it looks like your config is wrong.
please take a look into downloaded sdk to see correct structore of it. i see that tag is missing.
about .net core. it is not why configuration is not shown. but photon socket server will not be able to load your application. i think. we did not test this.
best,
ilya1 -
Yes, the tag was missing, thanks for the help.
Suggestion : may be could be a good idea to add this tag in the tutorial.
Thanks a lot for the help !0 -
I keep getting error that I can't find the file, can someone help? My chat server binaries are different from Aherys0