I upgraded my nuget packages today and now when I try to run my photon application it is unable to load the correct version of the Microsoft.Extensions.Configuration.Abstractions. It tries to appear to load version 1.0.2.0 but we are on version 2.1.2.0. The dll is present in the dll and is the correct version(2.1.20) but I dont understand why Photon App Domain is not using the binding redirect like another .net framework application. The dll that hosts the ApplicationBase class is MGF.Photon.dll
Error message:
Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=1.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Extensions.Configuration.Abstractions, Version=1.0.2.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
at MGF_Photon.PhotonApplication.Setup()
at Photon.SocketServer.ApplicationBase.PhotonHostRuntimeInterfaces.IPhotonControl.OnPhotonRunning()
at PhotonHostRuntime.PhotonDomainManager.PhotonPlainAppDomainBehavior.PhotonRunning()
at PhotonHostRuntime.PhotonDomainManager.PhotonRunning()
the binding redirect in the app.config file and in the MGF.Photon.dll.config
↧