Changing the AssemblyName does not work

To align our Dockerfile's we intended to name the dll on publish, but <AssemblyName>foo</AssemblyName> doesn't seem to work.

As a workaround we create a symbolic link entrypoint.dll which reduces Dockerfile to ENTRYPOINT [ "dotnet", "entrypoint.dll" ]

<Target Name="CreateSymoblicEntrypoint" AfterTargets="Publish" Condition="'$(OS)' == 'Unix' Or '$(OS)' == 'Linux' Or '$(OS)' == 'OSX'">
  <Exec Command="cd $(PublishDir); ln -sf $(AssemblyName).dll entrypoint.dll" />
</Target>