File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ Copyright (c) .NET Foundation. All rights reserved.
67
67
<!-- Needs to be in a target so we don't need to worry about evaluation order with NativeBinary property -->
68
68
<PropertyGroup Condition =" '$(ToolEntryPoint)' == ''" >
69
69
<ToolEntryPoint >$(TargetFileName)</ToolEntryPoint >
70
- <ToolEntryPoint Condition =" '$(UseAppHost)' == 'true' " >$(AssemblyName)$(_NativeExecutableExtension)</ToolEntryPoint >
70
+ <ToolEntryPoint Condition =" '$(RuntimeIdentifier)' != '' and '$(UseAppHost)' == 'true' " >$(AssemblyName)$(_NativeExecutableExtension)</ToolEntryPoint >
71
71
</PropertyGroup >
72
72
73
73
<!-- inner-build tool packages get a RID suffix -->
74
- <PropertyGroup Condition =" '$(ToolPackageRuntimeIdentifier )' != '' And '$(RuntimeIdentifier)' != ''" >
74
+ <PropertyGroup Condition =" '$(ToolPackageRuntimeIdentifiers )' != '' And '$(RuntimeIdentifier)' != ''" >
75
75
<PackageId >$(PackageId).$(RuntimeIdentifier)</PackageId >
76
76
</PropertyGroup >
77
77
@@ -132,7 +132,7 @@ Copyright (c) .NET Foundation. All rights reserved.
132
132
133
133
<Target Name =" _GenerateToolsSettingsFileInputCache" >
134
134
<ItemGroup >
135
- <_ToolPackageRuntimeIdentifier Include =" $(ToolRuntimeIdentifier )" />
135
+ <_ToolPackageRuntimeIdentifier Include =" $(ToolRuntimeIdentifiers )" />
136
136
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(ToolEntryPoint)" />
137
137
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(ToolCommandName)" />
138
138
<_GenerateToolsSettingsFileInputCacheToHash Include =" $(ToolCommandRunner)" />
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ Copyright (c) .NET Foundation. All rights reserved.
54
54
BeforeTargets =" GenerateNuspec" >
55
55
56
56
<PropertyGroup >
57
- <_ToolPackageType Condition =" '$(RuntimeIdentifier)' != '' And '$(ToolPackageRuntimeIdentifier )' != ''" >DotnetToolRidPackage</_ToolPackageType >
57
+ <_ToolPackageType Condition =" '$(RuntimeIdentifier)' != '' And '$(ToolPackageRuntimeIdentifiers )' != ''" >DotnetToolRidPackage</_ToolPackageType >
58
58
<_ToolPackageType Condition =" '$(_ToolPackageType)' == ''" >DotnetTool</_ToolPackageType >
59
59
</PropertyGroup >
60
60
You can’t perform that action at this time.
0 commit comments