-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio BUILD Copies DLL from a Referenced Project containing the DLL even when that DLL is Not Consumed in that Referenced Project #9574
Comments
It is known from the provided video and sample that the issue happened to VS 17.11.5, but not reproduced with I could reproduce with VS 17.11.5, not reproduce with msbuild.exe or dotnet build. |
@drewnoakes can you take a look and confirm if this is a known issue for build acceleration? |
Yes, I have Disabled Build Acceleration by Default and Now it is Fine. As I also pointed out, and you confirmed, it happens only in Visual Studio IDE. The Command Line 'DotNet Build' works fine. Thanx @GangWang01 |
Hi @garevaul, thanks for taking the time to research and report this issue so clearly. After some investigation I've created #9575 to track the difference in behaviour here. It'll be a tricky one to fix, so please comment there with more information on your use case to help us understand the impact of the bug. In the meantime, if this is breaking any important scenarios for you then I recommend adding I'll close this issue and we can continue the discussion in #9575. Thanks again. |
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
The text was updated successfully, but these errors were encountered: