File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 17
17
* ProjectReferenceProvider = a list which maps of assembly names to the project file that produces it
18
18
-->
19
19
<Project >
20
+ <!-- The .NET SDK uses this task but only in inner builds. Needed in outer builds for ResolveCustomReferencesToProjects. -->
21
+ <UsingTask TaskName =" Microsoft.NET.Build.Tasks.JoinItems" AssemblyFile =" $(MicrosoftNETBuildTasksAssembly)" />
20
22
21
23
<PropertyGroup >
22
24
<EnableCustomReferenceResolution Condition =" '$(EnableCustomReferenceResolution)' == '' AND ('$(DotNetBuildFromSource)' != 'true' OR '$(ExcludeFromSourceBuild)' != 'true')" >true</EnableCustomReferenceResolution >
98
100
(therefore fragile) target names.
99
101
-->
100
102
<Target Name =" ResolveCustomReferencesToProjects"
101
- Condition =" '$(TargetFramework)' != '' AND '$( EnableCustomReferenceResolution)' == 'true' AND '$(UseProjectReferences)' == 'true' "
103
+ Condition =" '$(EnableCustomReferenceResolution)' == 'true' AND '$(UseProjectReferences)' == 'true' "
102
104
BeforeTargets =" AssignProjectConfiguration;ResolveCustomReferences;_LoadRestoreGraphEntryPoints;_GenerateProjectRestoreGraphPerFramework;_GenerateRestoreProjectPathItemsPerFramework" >
103
105
<JoinItems Left =" @(Reference)" Right =" @(ProjectReferenceProvider)" LeftMetadata =" *" RightMetadata =" ProjectPath;RefProjectPath" >
104
106
<Output TaskParameter =" JoinResult" ItemName =" _ProjectReferenceByAssemblyName" />
You can’t perform that action at this time.
0 commit comments