diff --git a/src/dscom.build/dSPACE.Runtime.InteropServices.BuildTasks.Tools.targets b/src/dscom.build/dSPACE.Runtime.InteropServices.BuildTasks.Tools.targets
index 0d4a199..407ebd9 100644
--- a/src/dscom.build/dSPACE.Runtime.InteropServices.BuildTasks.Tools.targets
+++ b/src/dscom.build/dSPACE.Runtime.InteropServices.BuildTasks.Tools.targets
@@ -52,21 +52,23 @@
<_DsComArguments> $(_DsComArguments) $(_DsComAssemblyReferences)
<_DsComArguments> $(_DsComArguments) $(_DsComTypeLibraryReferences)
<_DsComArguments> $(_DsComArguments) $(_DsComTypeLibraryReferencePaths)
- <_DsComArguments> $(_DsComArguments) $(_DsComExportTypeLibraryAssemblyFile)
+ <_DsComArguments> $(_DsComArguments) "$(_DsComExportTypeLibraryAssemblyFile)"
<_DsComArguments> $(_DsComArguments) $(_DsComAliasNames)
<_DsComArguments Condition="'$(DsComOverideLibraryName)' != ''"> $(_DsComArguments) --overridename "$(DsComOverideLibraryName)"
<_DsComArguments> $(_DsComArguments) --out "$(_DsComExportTypeLibraryTargetFile)"
+ <_DsComWorkingDir>$(OutDir)
+ <_DsComWorkingDir Condition="$(_DsComWorkingDir) == ''">$(OutputPath)
-
+ WorkingDirectory="$(_DsComWorkingDir)" />