diff --git a/build/yasm/vsyasm.targets b/build/yasm/vsyasm.targets
index 3c084119..7bf0d2c9 100644
--- a/build/yasm/vsyasm.targets
+++ b/build/yasm/vsyasm.targets
@@ -20,7 +20,7 @@
AfterTargets="$(YASMAfterTargets)"
Condition="'@(YASM)' != ''"
DependsOnTargets="$(YASMDependsOn);ComputeYASMOutput"
- Outputs="@(YASM->'%(ObjectFile)')"
+ Outputs="@(YASM->'$(ProjectDir)$(IntDir)%(Filename).obj')"
Inputs="@(YASM);%(YASM.AdditionalDependencies);$(MSBuildProjectFile)">
@@ -32,7 +32,7 @@
-
+
+ File="$(TLogLocation)$(ProjectName).write.1.tlog"
+ Lines="^%(YASM_tlog.Source);@(YASM->'$(ProjectDir)$(IntDir)%(Filename).obj')"
+ Encoding="Unicode" />