Hi,
I am using a .NET Core C# console server application and deployed it on a Playfab server. However, the build always goes into the status "Unhealthy" although I implemented the GamserverSDK and registered the HealthCallback method.
I also tested it locally with the PlayfabVmAgent (MockVmAgent.exe) combined with Docker. From the logfiles it looks like as if the command "dotnet" is not recognized by the VM.
To start my application I use a simple Powershell script which contains: "dotnet MyServerApplication.dll". For the start command I use:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -File "C:\Assets\StartServer.ps1"
Is there something I am doing wrong here or are .NET Core application not supported on Playfab servers? Do I need to start the application in a different way or do I need to include some additonal libraries maybe?
Thanks in advance.
PS: I tested the same with a .NET Framework application (.exe) and a modified start command and this worked perfectly on a Playfab server aswell locally with the Mock.
Hi,
I have a .NET Core C# console server application which I want to deploy on a Playfab server. However, it always runs into the state Unhealthy even though I implemented the GameserverSDK and registered the HealthCallback method.
I also tested it locally with the PlayfabVMAgent (MockVMAgent.exe) combined with Docker. Looking at the logfiles, it seems like as if the command 'dotnet' is not known by the VM.
I tried to start the server application with a powershell script that only contains 'dotnet MyServerApplication.dll'. The StartCommand looks like this:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -File "C:\Assets\StartServer.ps1"
Is there something I am doing wrong here or is this just not supported?
Thanks in advance.
PS: With a .NET Framework application (.exe) and the modified StartCommand it works perfectly fine with the Mock aswell with a real Playfab server.