diff --git a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/ReferenceAssemblies.targets b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/ReferenceAssemblies.targets index 593f41f323..29855f2af8 100644 --- a/src/Microsoft.DotNet.Build.Tasks/PackageFiles/ReferenceAssemblies.targets +++ b/src/Microsoft.DotNet.Build.Tasks/PackageFiles/ReferenceAssemblies.targets @@ -24,6 +24,18 @@ Reference + + + + $(OutputPath) + $([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(MSBuildProjectDirectory)`, `$(OutDir)`))`)))) + $(TargetDir)$(TargetFileName) + +