We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7f222 commit 3780bdaCopy full SHA for 3780bda
src/Layout/redist/targets/GenerateLayout.targets
@@ -2,7 +2,11 @@
2
3
<Target Name="PublishPortableRuntimeIdentifierGraph"
4
BeforeTargets="Build">
5
-
+
6
+ <ItemGroup Condition="'$(DotNetBuildFromSource)' == 'true' AND '$(TargetRid)' != '' AND '$(PortableRid)' != '' AND '$(TargetRid)' != '$(PortableRid)'">
7
+ <AdditionalRuntimeIdentifier Include="$(TargetRid)" Imports="$(PortableRid)" />
8
+ </ItemGroup>
9
10
<UpdatePortableRuntimeIdentifierGraph
11
InputFile="PortableRuntimeIdentifierGraph.json"
12
OutputFile="$(OutputPath)/PortableRuntimeIdentifierGraph.json"
0 commit comments