@@ -70,7 +70,8 @@ Copyright (c) .NET Foundation. All rights reserved.
70
70
<ToolEntryPoint Condition =" '$(UseAppHost)' == 'true' " >$(AssemblyName)$(_NativeExecutableExtension)</ToolEntryPoint >
71
71
</PropertyGroup >
72
72
73
- <PropertyGroup Condition =" '@(ToolPackageRuntimeIdentifier)' != '' And '$(RuntimeIdentifier)' != ''" >
73
+ <!-- inner-build tool packages get a RID suffix -->
74
+ <PropertyGroup Condition =" '$(ToolPackageRuntimeIdentifier)' != '' And '$(RuntimeIdentifier)' != ''" >
74
75
<PackageId >$(PackageId).$(RuntimeIdentifier)</PackageId >
75
76
</PropertyGroup >
76
77
@@ -127,13 +128,14 @@ Copyright (c) .NET Foundation. All rights reserved.
127
128
128
129
<Target Name =" _GenerateToolsSettingsFileInputCache" >
129
130
<ItemGroup >
131
+ <_ToolPackageRuntimeIdentifier Include =" $(ToolRuntimeIdentifier)" />
130
132
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(ToolEntryPoint)" />
131
133
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(ToolCommandName)" />
132
134
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(ToolCommandRunner)" />
133
135
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(ToolRuntimeIdentifier)" />
134
136
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(PackageId)" />
135
137
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(Version)" />
136
- <_GenerateToolsSettingsFileInputCacheToHash Include =" @(ToolPackageRuntimeIdentifier ->'%(Identity)%(Version )')" />
138
+ <_GenerateToolsSettingsFileInputCacheToHash Include =" @(_ToolPackageRuntimeIdentifier ->'%(Identity)')" />
137
139
</ItemGroup >
138
140
139
141
<Hash ItemsToHash =" @(_GenerateToolsSettingsFileInputCacheToHash)" >
@@ -164,7 +166,7 @@ Copyright (c) .NET Foundation. All rights reserved.
164
166
RuntimeIdentifier =" $(ToolRuntimeIdentifier)"
165
167
ToolPackageId =" $(PackageId)"
166
168
ToolPackageVersion =" $(Version)"
167
- ToolPackageRuntimeIdentifiers =" @(ToolPackageRuntimeIdentifier )"
169
+ ToolPackageRuntimeIdentifiers =" @(_ToolPackageRuntimeIdentifier )"
168
170
ToolsSettingsFilePath =" $(_ToolsSettingsFilePath)" />
169
171
</Target >
170
172
0 commit comments