How to get .NET Core projects to copy NuGet references to build output?
I'm trying to write a plugin system with .NET Core, and one of my requirements are to be able to distribute the plugin DLL along with it's dependencies to the user for install. However, I can't figure out how to include my NuGet dependencies as a build artifact and have them output to the build folder, without having to use dotnet publish as a hack. Is there some way I can specify this in the csproj? Martin Ullrich You can add this to a <PropertyGroup> inside your csproj file to enforce copying NuGet assemblies to the built output: <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies