Skip to content

Strange behavior of dscom when adding --asmpath containing a backslash in MsBuild Exec task #443

Description

@carstencodes

Description

DsCom Build Targets use the directories from the reference assemblies. When MsBuild removes the file names from the items, the trailing backslash remains. This value is passed to dscom.exe tlbexport afterwards. dscom then reports that the directory does not exist. If the trailing backslash removed, the directory is treated as found.

Execution context

The directory path is enclosed by double quotes before the task is executed by msbuild. The command line arguments are passed to dscom.exe via MsBuild Exec task, which itself executes cmd.exe.


Originally posted by @carstencodes in #440

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions