File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ 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
- <!-- TODO: What property to use for single file (non AOT) or other modes? -->
71
- <ToolEntryPoint Condition =" '$(PublishAot)' == 'true' " >$([System.IO.Path]::GetFileName($(NativeBinary)))</ToolEntryPoint >
70
+ <ToolEntryPoint Condition =" '$(UseAppHost)' == 'true' " >$(AssemblyName)$(_NativeExecutableExtension)</ToolEntryPoint >
72
71
</PropertyGroup >
73
72
74
73
<PropertyGroup Condition =" '@(ToolPackageRuntimeIdentifier)' != '' And '$(RuntimeIdentifier)' != ''" >
You can’t perform that action at this time.
0 commit comments