System.Net.Http.Formatting -> System.Memory Dependency problem
Opened this issue · 2 comments
I updated Microsoft.AspNet.WebApi.Owin (and dependencies) to the latest versions, my app (I'm hosting OWIN in a SQL Server CLR) is having problems with the dependencies (namely System.Memory 4.0.2.0):
System.Net.Http.Formatting' references assembly 'system.memory, version=4.0.1.2, culture=neutral, publickeytoken=cc7b13ffcd2ddd51, which is not present in the current database.
'System.Web.Http' references assembly 'system.net.http.formatting, version=6.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35.', which is not present in the current database.
'System.Web.Http.Owin' references assembly 'system.web.http, version=5.3.0.0, culture=neutral, publickeytoken=31bf3856ad364e35.', which is not present in the current database.
I have successfully ran the OWIN server in SQL Server CLR using this package config (but it is out of date): https://github.com/jasonrichardcraig/WebSQL/blob/main/TestHarness/packages.config
Thanks for contacting us. Could you not update the package reference in your .config file? So that the correct dependencies are available in the deployment (SQL Server) ?
I am playing a game of dependency Whack - A Mole: Assembly 'System.Net.Http.Formatting' references assembly 'system.memory, version=4.0.1.2, culture=neutral, publickeytoken=cc7b13ffcd2ddd51.', which is not present in the current database. (Yet it does exist in the database as v4.2.0).