Skip to content

Rubberduck.Deployment fails to build from a UNC path with a space in it #3984

@A9G-Data-Droid

Description

@A9G-Data-Droid

I pulled fresh from next v2.2.0.3187 and got a build error right up front.

It seems to dislike UNC paths and it truncates the string at the first space char:

2>------ Build started: Project: Rubberduck.Deployment, Configuration: Debug Any CPU ------
2> '\%USER%\My Documents\GitHub\Rubberduck\Rubberduck.Deployment\bin\Debug'
2> CMD.EXE was started with the above path as the current directory.
2> UNC paths are not supported. Defaulting to Windows directory.
2> \%USER%\My : The term '\%USER%\My' is not recognized as the name of a cmdlet,
2> function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
2> correct and try again.
2> At line:1 char:1
2> + \%USER%\My Documents\GitHub\Rubberduck\Rubber ...
2> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2> + CategoryInfo : ObjectNotFound: (\%USER%\My:String) [], CommandNotFoundException
2> + FullyQualifiedErrorId : CommandNotFoundException

NOTE: I have replaced my user path with "%USER%" for privacy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    development-issueIssues encountered while developing RD, not in RD itselfmeta

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions