summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWilliam Godbe <wigodbe@microsoft.com>2019-06-26 20:41:42 -0700
committerGitHub <noreply@github.com>2019-06-26 20:41:42 -0700
commitaa038335628e8d886e3d6bf8c4cfb48e661d4a4a (patch)
tree0210de6571c18634f1c1e722d1dd07fed520af8d /tests
parent2e6510fd823cd8eb4f223199feed9a46ee6f2feb (diff)
downloadcoreclr-aa038335628e8d886e3d6bf8c4cfb48e661d4a4a.tar.gz
coreclr-aa038335628e8d886e3d6bf8c4cfb48e661d4a4a.tar.bz2
coreclr-aa038335628e8d886e3d6bf8c4cfb48e661d4a4a.zip
Hardcode LKG version of ucrtbased.dll (#25444)
* Hardcode LKG version of ucrtbased.dll * Only use hardcoded UCRT version when search path fails * Add missing single-quotes
Diffstat (limited to 'tests')
-rw-r--r--tests/src/Interop/Interop.settings.targets8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/src/Interop/Interop.settings.targets b/tests/src/Interop/Interop.settings.targets
index 117a54f012..f56113cf9f 100644
--- a/tests/src/Interop/Interop.settings.targets
+++ b/tests/src/Interop/Interop.settings.targets
@@ -25,6 +25,12 @@
<None Include="$(VCToolsRedistDir)onecore/debug_nonredist/$(Platform)/Microsoft.VC*.DebugCRT/vcruntime*d.dll" CopyToOutputDirectory="Always" />
<None Include="$(VCToolsRedistDir)onecore/debug_nonredist/$(Platform)/Microsoft.VC*.DebugCRT/msvcp*d.dll" CopyToOutputDirectory="Always" />
- <None Include="$(ExtensionSdkDir)/Microsoft.UniversalCRT.Debug/$(UCRTVersion)/Redist/Debug/$(Platform)/ucrtbased.dll" CopyToOutputDirectory="Always" />
+ <None Include="$(ExtensionSdkDir)/Microsoft.UniversalCRT.Debug/$(UCRTVersion)/Redist/Debug/$(Platform)/ucrtbased.dll" CopyToOutputDirectory="Always"
+ Condition="Exists('$(ExtensionSdkDir)/Microsoft.UniversalCRT.Debug/$(UCRTVersion)/Redist/Debug/$(Platform)/ucrtbased.dll')" />
+
+ <!-- There's a bug in VS that causes UCRTVersion env var to get set to a version that isn't actually installed on the machine. -->
+ <!-- Until that gets resolved, we need this workaround to grab the last "known" good version of ucrtbased.dll -->
+ <None Include="$(ExtensionSdkDir)/Microsoft.UniversalCRT.Debug/10.0.17763.0/Redist/Debug/$(Platform)/ucrtbased.dll" CopyToOutputDirectory="Always"
+ Condition="!Exists('$(ExtensionSdkDir)/Microsoft.UniversalCRT.Debug/$(UCRTVersion)/Redist/Debug/$(Platform)/ucrtbased.dll')" />
</ItemGroup>
</Project>