Skip to content

No spaces in path to fbuild.bff allowed #38

@meiwen333

Description

@meiwen333

When I used FastBuild I got an error: D:\Program(1,1): FASTBuild Error #1015 - Unknown Function.
After a while of investigating the error I found it. It is in the function:
ExecuteBffFile

this line of code:
string FBCommandLine = string.Format("-monitor -summary {0} {1} -ide -clean -config {2}", distArgument, cacheArgument, BffFilePath);

In my case the folder in BffFilePath contained spaces and since the path is not in quitation marks the path can never be found. Just replace the line with this code:
string FBCommandLine = string.Format("-monitor -summary {0} {1} -ide -clean -config "{2}"", distArgument, cacheArgument, BffFilePath);

Cheers Pascal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions