This is apparently the default behavior of .NET Core. To change that i used the setting blow in my vs project file. If this is the right/best way i dont know but it works.
<PropertyGroup>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>