What is the major difference between dotnet pack and publish?
From Microsoft's description, my understanding is that pack creates a package while publish creates package + DLL.
Is this correct?
If so, why not just always use publish and not use the DLL file if it is not needed.