Skip to content

Project will not build because of space in build path #191

Closed
@atotalnoob

Description

@atotalnoob

System information

  • OS version/distro: Windows 10 Home
  • .NET Version (eg., dotnet --info): 2.1.200, concerning ML .net V0.1.0

Issue

  • What did you do? Try to build from source
  • What happened? When trying to build, I have a space in my user profile, for example let's say "John Smith". So when I cloned to C:/users/John Smith/source/repo/machinelearning/ and tried to build using a command prompt (in the before directory) using command start build.cmd -Release -TargetArchitecture:x64

Another window opened (expected) and it said 'C:\Users\John' is not recognized as an internal or external command, operable program or batch file

Moving the folder up to C:/ it builds just fine.

  • What did you expect? To build

Source code / logs

Its probably caused by %~dp0 in the build.cmd file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildBuild related issuebugSomething isn't workingup-for-grabsA good issue to fix if you are trying to contribute to the project

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions