You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- For self-contained, invoke the native executable as a single arg -->
113
-
<ContainerAppCommandCondition="@(ContainerAppCommand->Count()) == 0 and '$(UseAppHost)' == 'true'"Include="$(ContainerWorkingDirectory)$(AssemblyName)$(_NativeExecutableExtension)" />
113
+
<ContainerAppCommandCondition="@(ContainerAppCommand->Count()) == 0 and $(_ContainerIsSelfContained)"Include="$(ContainerWorkingDirectory)$(AssemblyName)$(_NativeExecutableExtension)" />
114
114
<!-- For non self-contained, invoke `dotnet` `app.dll` as separate args -->
115
-
<ContainerAppCommandCondition="@(ContainerAppCommand->Count()) == 0 and '!$(UseAppHost)' == 'true'"Include="dotnet;$(ContainerWorkingDirectory)$(TargetFileName)" />
115
+
<ContainerAppCommandCondition="@(ContainerAppCommand->Count()) == 0 and !$(_ContainerIsSelfContained)"Include="dotnet;$(ContainerWorkingDirectory)$(TargetFileName)" />
116
116
</ItemGroup>
117
117
118
118
<!-- We only set a default user when the base image is Microsoft-authored, and we're targeting a version of those images that supports a nonroot user -->
0 commit comments