You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running locally, everything worked great. When I deployed to Azure as ASP.NET Core 2.1 application, I would receive:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Private.ServiceModel, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Private.ServiceModel, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
The System.ServiceModel.Http 4.4.0 dependency of SoapCore has a dependency on System.Private.ServiceModel 4.4.0, and that NuGet package does not support the Azure win-x86 or win-x64 runtimes. The result is that the DLL would not be included by Azure when publishing your app.
By updating to System.ServiceModel.Http 4.5.0, this also updates to System.Private.ServiceModel 4.5.0 where the runtime has been changed to "win" (which supports win-x86 and win-x64 runtimes).
The text was updated successfully, but these errors were encountered:
When running locally, everything worked great. When I deployed to Azure as ASP.NET Core 2.1 application, I would receive:
This issue describes the problem: dotnet/wcf#2349
The System.ServiceModel.Http 4.4.0 dependency of SoapCore has a dependency on System.Private.ServiceModel 4.4.0, and that NuGet package does not support the Azure win-x86 or win-x64 runtimes. The result is that the DLL would not be included by Azure when publishing your app.
By updating to System.ServiceModel.Http 4.5.0, this also updates to System.Private.ServiceModel 4.5.0 where the runtime has been changed to "win" (which supports win-x86 and win-x64 runtimes).
The text was updated successfully, but these errors were encountered: