C# Add support for authenticated nuget feeds
- 主要語言
- CodeQL
- 星號
- 10.1k
- 分支
- 2.1k
- 平均合併
- 2 天 15 小時
- 30 天內合併 PR
- 141
描述
**Description of the issue**
This is using advanced mode with `build-mode: none` to take advantage of the "no build" csharp analyzers.
When using authenticated nuget feeds with `build-mode: none`, CodeQL will try and restore the packages, however there are multiple errors within the logs indicating that the feed failed due to 401 errors:
```
[2026-03-20 02:10:31] [build-stdout] Checking if NuGet feed 'https://my-artifactory-feed' is reachable...
[2026-03-20 02:10:31] [build-stdout] Querying NuGet feed 'https://my-artifactory-feed' failed in a timely manner. Not considering the feed for use. The reason for the failure: Response status code does not indicate success: 401.
```
貢獻指南
研究方向
Start by tracing the advanced-mode path for C# analysis with build-mode: none, focusing on where NuGet feeds are checked and packages are restored. Determine how authenticated feed credentials are expected to reach that path; done means authenticated feeds can be used without the reported 401 failures.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- build-system
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100