Michael Nebel
1b84f70d1c
C#: Use NuGet version sorting instead of lexicographic directory name sorting for finding newest package version.
2025-12-04 15:34:26 +01:00
Michael Nebel
e76e7ab26a
C#: Read from dependency directory from extractor option.
2025-11-21 10:39:51 +01:00
Martin Costello
77a6a2d442
Fix user-facing casing of NuGet
...
Fix user-facing strings to use "NuGet" instead of "Nuget" and "dotnet" instead of "Dotnet".
2025-06-02 09:30:16 +01:00
Michael B. Gale
2aee47b257
Merge pull request #18850 from github/mbg/csharp/inject-proxy-urls
...
C#: Automatically use configured private registry feeds
2025-03-27 10:11:05 +00:00
Michael B. Gale
be95d335b7
C#: Obtain all feeds from source directory if there are no nuget.config files anywhere
2025-03-25 11:29:06 +00:00
Michael B. Gale
73ca2eb2c5
C#: Use allFeeds rather than explicitFeeds for RestoreProjects
2025-03-25 10:44:29 +00:00
Michael B. Gale
4d3b0246b5
C#: Do not manually add public feed when private registries are used
2025-03-25 10:14:03 +00:00
Michael B. Gale
d2b88ae5a8
C#: Rename overloaded CheckFeeds method and fix comment
2025-03-25 10:07:08 +00:00
Michael B. Gale
4448369323
C#: Check that private package registry feeds are reachable
2025-03-24 17:27:22 +00:00
Michael B. Gale
92eab47def
C#: Refactor CheckFeeds to have an overloaded variant that accepts a given set of feeds.
2025-03-24 17:15:49 +00:00
Michael B. Gale
d564529f3c
C#: Change RestoreSettings to have general extraArgs parameter
...
This allows the string of package feeds to be constructed once and used repeatedly in the parallel restore loop as well.
2025-03-24 17:08:05 +00:00
Tamas Vajk
2054c869fb
C#: Fix buildless fallback restore logic
...
When dotnet core projects are restored, the dependency manager precisely tracks the referenced package folders. The fallback restore logic ignored the precise usage list and instead considered all subfolders in the restore location to be referenced, even though not all subfolders were added to the dependency list. This meant that packages downloaded in partially successful restores were available on disk, but not added to the dependency list by the normal restore process, and skipped by the fallback restore process. This commit fixes this problem by ensuring that the fallback restore logic doesn't consider all subfolders in the restore location to be referenced, but only those that were added to the dependency list by the normal restore process.
2025-03-18 09:51:39 +01:00
Michael B. Gale
51874b8ef0
Apply suggestions from code review
...
Co-authored-by: Michael Nebel <michaelnebel@github.com >
2025-03-17 14:24:04 +00:00
Michael B. Gale
95605935fa
C#: Fix .ToList() being called on null
2025-03-14 14:02:38 +00:00
Michael B. Gale
a8dde15a87
C#: Only provide feeds on command line if Dependabot proxy is enabled
2025-03-14 13:47:05 +00:00
Michael B. Gale
0db6a269e4
C#: Propagate explicit feeds to RestoreProjects
2025-03-14 13:39:27 +00:00
Michael Nebel
684c80c31a
C#: Address review comments.
2024-12-10 13:13:11 +01:00
Michael Nebel
86c6df5cbd
C#: Log warning when chain or certificate is not provided in the validation.
2024-12-10 10:35:48 +01:00
Michael Nebel
547af6c3c9
C#: Introduce null checks in the NugetPackageRestorer.
2024-12-10 10:31:12 +01:00
Michael B. Gale
2e80e09f52
C#: Apply suggestions from code review for DependabotProxy
2024-12-05 12:15:27 +00:00
Michael B. Gale
ee7f0b0f2a
C#: Load Dependabot Proxy certificate in DependabotProxy, and implement IDisposable
2024-12-05 12:15:26 +00:00
Michael B. Gale
ca251fb840
C#: Set up proxy for IsFeedReachable, if configured
2024-12-05 12:15:23 +00:00
Michael B. Gale
984091d4a4
C#: Propagate DependabotProxy instance down from DependencyManager
2024-12-05 12:14:29 +00:00
Michael Nebel
dde0281d25
C#: Use dedicated lock type where applicable.
2024-12-04 14:46:14 +01:00
Tamas Vajk
07a5c20309
Fix/add doc comments
2024-08-20 14:35:31 +02:00
Tamas Vajk
79bd81fa12
C#: Adjust buildless package restore folders and tests
2024-08-20 12:12:23 +02:00
Tamas Vajk
9d7314febb
C#: Change random temp folder names to hash values
2024-08-19 15:56:56 +02:00
Tamas Vajk
7388c6db24
Downgrade buildless TSP warnings to notes
2024-08-07 11:14:16 +02:00
Tamas Vajk
7387c565e4
C#: Restore Windows dependencies when Windows Forms or WPF usage is detected
2024-07-08 14:44:20 +02:00
Tamas Vajk
199a9688af
C#: Fix quality issues
2024-06-28 13:58:08 +02:00
Tamas Vajk
12494a0c5a
C#: Use nuget feeds from nuget.config in fallback restore
2024-05-21 12:47:38 +02:00
Tamas Vajk
c6185b30ba
C#: Change nuget feed responsiveness checking to be opt-out
2024-05-02 10:25:12 +02:00
Michael Nebel
a304e2d8d6
Merge pull request #16248 from michaelnebel/csharp/groupsprojectbeforerestore
...
C#: Restore projects and collect dependencies for projects in the same folder sequentially.
2024-04-29 14:05:40 +02:00
Michael Nebel
d62e888b86
C#: Code quality improvements.
2024-04-29 09:27:12 +02:00
Michael Nebel
131d0b911f
C#: Inline dependency collection from asset files per group.
2024-04-25 15:35:08 +02:00
Michael Nebel
0124b0749f
C#: Do not run dotnet restore in parallel for projects in the same folder.
2024-04-25 15:35:07 +02:00
Tamas Vajk
15c1fd9425
C#: Improve log messages
2024-04-25 10:39:53 +02:00
Tamas Vajk
5a5fc79b3b
Fix regex to recognize prerelease version string
2024-04-17 11:46:27 +02:00
Tamas Vajk
1ff4c0daf3
Restore and use Microsoft.CodeAnalysis.ResxSourceGenerator
2024-04-17 10:41:47 +02:00
Michael Nebel
72ffcf5f9c
C#: Replace some LogInfo with LogDebug.
2024-04-15 13:01:12 +02:00
Michael Nebel
f7e5fe7040
C#: Inline some calls.
2024-04-15 13:01:03 +02:00
Tamas Vajk
69c43094ba
Fix review findings
2024-04-15 09:32:18 +02:00
Tamas Vajk
e3fe9f7ca5
Move Nuget restore logic from DependencyManager to dedicated class
2024-04-12 15:04:45 +02:00