msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

Visual Studio BUILD Copies DLL from a Referenced Project containing the DLL even when that DLL is Not Consumed in that Referenced Project

Open garevaul opened this issue 1 year ago • 0 comments

Hi @rainersigwald

This may be a Bug in Visual Studio BUILD.

Visual Studio IDE Build Copies DLL from a Referenced Project containing the DLL even when that DLL is Not Consumed in that Referenced Project. But Powershell DotNet Command Does Not Do That and works fine.

Because it is a slightly complicated issue, I have created an 8-minute Video Explaining the Issue (attached here).

I have also attached a Sample Visual Studio Project Solution that is explained in the Video.

MSBuild_Issue_For_Rainer.zip

Video... https://1drv.ms/f/s!AjNAB3KpbqsErxfCNpurDPIj9iGA?e=LEbbqT

Regards Bikramjeeth Garevaul

garevaul avatar Oct 11 '24 14:10 garevaul