サーバーコードを含むアプリを取得しました。Photon Serverで実行しようとしましたが、 PhotonHostRuntimeInterfacesで例外を受け取りました。バージョンに問題があると思います。そのような問題をたくさん検索しましたが、私は本当に新しいですサーバープログラミングで、誰でもこの問題を手伝ってもらえますか?
ログは次のとおりです。
*System.Exception: Stop: unable to call the Application.TearDown() - undefined photonControl.
в PhotonHostRuntime.PhotonDomainManager.PhotonPlainAppDomainBehavior.Stop()
в PhotonHostRuntime.PhotonDomainManager.Stop()
6336: 10:34:55.862 - ERROR: Failed to start application: "RagingServer" in app domain: 2
6336: 10:34:55.863 - CService::OnException() - Exception: CManagedHost::StartApplication() - Failed to start application in AppDomain: 2 - Could not load file or assembly "PhotonHostRuntimeInterfaces, Version=3.56.0.0, Culture=neutral, PublicKeyToken=6cb1467adaa73020"or one of their dependencies. The obtained assembly manifest definition does not match the assembly reference (Исключение из HRESULT: 0x80131040)
6336: 10:34:55.863 - Server shutting down...*
そのような解決策も見つけました:
<dependentAssembly>
<assemblyIdentity name="PhotonHostRuntimeInterfaces" publicKeyToken="6cb1467adaa73020" culture="neutral" />
<bindingRedirect oldVersion="3.56.0.0" newVersion="3.58.0.0" />
</dependentAssembly>
しかし、どこに入れるべきかわかりませんPhotonServer.config
。