Skip to content

error MSB1008 when MSBuildBinaryLogSettings.FileName has spaces #2558

@FroggieFrog

Description

@FroggieFrog

What You Are Seeing?

MSBuild error MSB1008 when using a BinaryLogger and a path with space

What is Expected?

no error

What version of Cake are you using?

0.33

Are you running on a 32 or 64 bit system?

32 bit

What environment are you running on? Windows? Linux? Mac?

Windows 10 1903

Are you running on a CI Server? If so, which one?

No

How Did You Get This To Happen? (Steps to Reproduce)

Add a BinaryLogger and specify a path with space.

var msBuildSettings = new MSBuildSettings()
{
            ...
            BinaryLogger = new MSBuildBinaryLogSettings
            {
                Enabled = true,
                FileName = "Path with\spaces in between\log.binlog"
            },
            ...
        };

Output Log

unknown

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions