Skip to content

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

Open

Description

@jasonrichardcraig

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

Activity

  1. mkArtakMSFT commented on Dec 11, 2024

    @mkArtakMSFT

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

  2. jasonrichardcraig commented on Dec 11, 2024

    @jasonrichardcraig
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions