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
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