Skip to content

Fix executing ILRepack problem if the path name has space - #7837

Merged
Nigusu-Allehu merged 1 commit into
NuGet:devfrom
eriawan:fix-exec-ilrepack-path-has-space
Nov 4, 2026
Merged

Nigusu-Allehu merged 1 commit into
NuGet:devfrom
eriawan:fix-exec-ilrepack-path-has-space

Conversation

@eriawan

@eriawan eriawan commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Bug

Fixes: NuGet/Home#15131

Description

When compiling Nuget.Client source code in NuGet.Client using build.cmd, it breaks on executing command ILRepack that has space in the path.

This problem may be specific in Windows, especially in this case if nuget cache in the users folder has space in the path because Windows allow space in the user's name and then it applies the space in the folder name, therefore it will always cause problems when running executable in the nuget cache path.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@Nigusu-Allehu
Nigusu-Allehu merged commit 7310734 into NuGet:dev Nov 4, 2026
16 checks passed
@eriawan
eriawan deleted the fix-exec-ilrepack-path-has-space branch November 4, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community PRs created by someone not in the NuGet team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When compiling Nuget.Client source code using build.cmd, it breaks on executing ILRepack command that has space in the path

4 participants