.NET Framework. However, if I build the same project with dotnet build (using .NET 7.0.4), that doesn't happen, and the usual method for doing so in .NET Standard / .NET Core / .NET 5+ (CopyLocalLockFileAssemblies) doesn't work because this is a .NET Framework project. I've explored upgrading my project to .NET Standard, and will do so if I have to, but in testing I hit some compatibility issues that I'm not confident I'd be able to iron out in my large (to me
) project. dotnet build for CI purposes, so... Either I bite the bullet and upgrade to .NET Standard 2.1 or find some way to locate dependency .dlls when building from dotnet build.