Skip to content

Commit b1e1cfb

Browse files
authored
Merge pull request #28929 from elinor-fung/ijwhost-designer-output
Include ijwhost in DesignerRuntimeImplementationProjectOutputGroupOutput
2 parents d85153e + aeba920 commit b1e1cfb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.DesignerSupport.targets

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Copyright (c) .NET Foundation. All rights reserved.
2222
$(DesignerRuntimeImplementationProjectOutputGroupDependsOn);
2323
_GenerateDesignerDepsFile;
2424
_GenerateDesignerRuntimeConfigFile;
25+
GetCopyToOutputDirectoryItems;
2526
_GatherDesignerShadowCopyFiles;
2627
</DesignerRuntimeImplementationProjectOutputGroupDependsOn>
2728

@@ -139,7 +140,12 @@ Copyright (c) .NET Foundation. All rights reserved.
139140
Include="@(_DesignerShadowCopy->'%(FullPath)')"
140141
TargetPath="%(_DesignerShadowCopy.DestinationSubDirectory)%(_DesignerShadowCopy.Filename)%(_DesignerShadowCopy.Extension)"
141142
/>
142-
</ItemGroup>
143+
144+
<!-- Include ijwhost.dll for projects that use it -->
145+
<DesignerRuntimeImplementationProjectOutputGroupOutput
146+
Include="@(AllItemsFullPathWithTargetPath->WithMetadataValue('Filename', '$(_DotNetIjwHostLibraryNameWithoutExtension)')->WithMetadataValue('Extension', '$(_IjwHostLibraryExtension)'))"
147+
/>
148+
</ItemGroup>
143149
</Target>
144150

145151
</Project>

0 commit comments

Comments
 (0)