Recently I tried to upgrade my .csproj files to SDK standard using .net upgrade assistant. Initially it seems to work and all my nuget dependencies came along for the ride.
However when I try to build my project (targeting .net48
) the dlls from the nuget package are not included in the output directory. I've been looking for solutions around the web, but most of them seem to indicate that they should be present. The specific package I'm having problems with is RavenDB.Database v2.5.25041
. It is part of a test suite that needs this specific version so I cannot unfortunately upgrade it. The tests also do not run and complain about missing assemblies unless the dlls are present in the output directory (testet by manually copying them).
Running a build on the project before the SDK-migration works fine and the output directory includes those dlls. Does anyone know why this work differently in the new version and how can I resolve it?