Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2017-03-02 21:00:54 +0300
committerWes Haggard <Wes.Haggard@microsoft.com>2017-03-02 21:04:46 +0300
commitece1fb61d13ec8e7be06abc50a29a0d1ac77d58c (patch)
tree618f4c8a90898f0f2f78b2a1cf7e3b97e1ca9864 /referenceFromRuntime.targets
parent88f86d14ce53757338d3370dbca005159e239c6e (diff)
Should only look at .dll files for ReferenceFromRuntime resolution
When we added the override folks would sometimes also get pdbs and when they did the ReferenceFromRuntime logic was broken. To fix this we make sure we only look at .dll files for the ReferenceFromRuntime resolution logic.
Diffstat (limited to 'referenceFromRuntime.targets')
-rw-r--r--referenceFromRuntime.targets2
1 files changed, 1 insertions, 1 deletions
diff --git a/referenceFromRuntime.targets b/referenceFromRuntime.targets
index d707f8313f..05aaf3f10a 100644
--- a/referenceFromRuntime.targets
+++ b/referenceFromRuntime.targets
@@ -28,7 +28,7 @@
Condition="'$(IsTestProject)'!='true' AND '@(ReferenceFromRuntime)' != ''">
<ItemGroup>
<!-- transform to filename in order to intersect -->
- <_referencePathFromRuntimeByFileName Include="@(_referencePathFromRuntime->'%(FileName)')" >
+ <_referencePathFromRuntimeByFileName Include="@(_referencePathFromRuntime->'%(FileName)')" Condition="'%(_referencePathFromRuntime.Extension)' == '.dll'" >
<ReferencePath>%(Identity)</ReferencePath>
</_referencePathFromRuntimeByFileName>