Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build pipeline fails when there is a space in the user directory #1939

Closed
Fydar opened this issue Oct 15, 2023 · 1 comment
Closed

Build pipeline fails when there is a space in the user directory #1939

Fydar opened this issue Oct 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Fydar
Copy link
Contributor

Fydar commented Oct 15, 2023

Release Type: GitHub

Version: master@c84a74c45cc401877a9f2845a5d49cac3a24a386

Platform(s): Windows

Describe the bug

The build fails when there is a space character in the username when building from either the command line or in Visual Studio.

To Reproduce

Steps to reproduce the behavior:

  1. Ensure your current user has a space in their directory name.
  2. Open Stride.sln in Visual Studio and attempt to build.
  3. Observe errors

Expected behavior

The build should be completed successfully.

Screenshots
If applicable, add screenshots to help explain your problem (use GitHub drag & drop)

Log and callstacks

When trying to build Stride.Core.AssemblyProcessor, I encountered an exit code 9009:

From sources\core\Stride.Core.AssemblyProcessor\Stride.Core.AssemblyProcessor.csproj at line 136:

The command "cd C:\Users\[USER NAME]\Desktop\Projects\stride\build\..\deps\AssemblyProcessor\net6.0
    C:\Users\Anthony Marmont\.nuget\packages\ilrepack\2.0.18\build\..\tools\ILRepack.exe Stride.Core.AssemblyProcessor.dll Mono.Cecil.dll Mono.Cecil.Mdb.dll Mono.Cecil.Pdb.dll Mono.Cecil.Rocks.dll Mono.Options.dll /out:Stride.Core.AssemblyProcessor.Packed.dll" exited with code 9009.

Additional context

@Fydar Fydar added the bug Something isn't working label Oct 15, 2023
Fydar added a commit to Fydar/stride that referenced this issue Oct 15, 2023
A part of my effort to make the build pipeline work on my user which has a username with a space in it (stride3d#1939).
@Fydar
Copy link
Contributor Author

Fydar commented Oct 16, 2023

I'm able to build the project now that my PR has gone through, closing issue as complete.

@Fydar Fydar closed this as completed Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant