Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Net.Http.Formatting -> System.Memory Dependency problem #430

Open
jasonrichardcraig opened this issue Nov 15, 2024 · 2 comments
Open

Comments

@jasonrichardcraig
Copy link

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

@mkArtakMSFT
Copy link
Member

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) ?

@jasonrichardcraig
Copy link
Author

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).

https://github.com/jasonrichardcraig/WebSQL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants