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

Dependabot / NETSDK1047 - Nuget packages no longer updating

未关闭
#3,186 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp

调研方向

从 Source/NETworkManager.Profiles/NETworkManager.Profiles.csproj 开始,重现所报告的涉及 net8.0-windows10.0.22621/win-x64 的 Dependabot 构建失败。追踪生成 project.assets.json 的 restore 输入;当 Dependabot 更新构建在没有 NETSDK1047 的情况下完成时,即表示完成。

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

描述

:boom: priority :bug: bug

Dependabot is broken since a few months for nuget packaged. It was working in the past.

Error msg:

Build FAILED.

/usr/local/dotnet/current/sdk/8.0.414/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(284,5): error NETSDK1047: Assets file '/home/dependabot/dependabot-updater/repo/Source/NETworkManager.Profiles/obj/project.assets.json' doesn't have a target for 'net8.0-windows10.0.22621/win-x64'. Ensure that restore has run and that you have included 'net8.0-windows10.0.22621' in the TargetFrameworks for your project. You may also need to include 'win-x64' in your project's RuntimeIdentifiers. [/home/dependabot/dependabot-updater/repo/Source/NETworkManager.Profiles/NETworkManager.Profiles.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.26
主要语言
C#
星标
8.8k
派生
857
平均合并
30 分钟
30 天内合并 PR
19

贡献指南

打开贡献指南

从这里开始

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

BornToBeRoot/NETworkManager 的其他 Issue

查看 BornToBeRoot/NETworkManager 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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