Wednesday, February 27, 2019

.net standard project doesnt copy nuget referenced file to bin

add following tag (CopyLocalLockFileAssemblies) into your project file in order for it to work.

<PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
  </PropertyGroup>