Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#430 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp
领域
api, backend, database

调研方向

从报告的程序集错误开始,将当前的包依赖项与 issue 中链接的可正常工作的 packages.config 进行比较。在 SQL Server CLR 中复现 OWIN 服务器,并确定对 System.Memory、System.Net.Http.Formatting 和 System.Web.Http 的引用是否能够一致解析;完成的标准是更新后的依赖项能够加载,且不会出现缺少程序集的错误。

由索引模型根据 Issue 内容生成。

描述

Needs: Author Feedback

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

主要语言
C#
星标
897
派生
358
平均合并
40 分钟
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aspnet/AspNetWebStack 的其他 Issue

查看 aspnet/AspNetWebStack 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。