C#C
C#2y ago
zCri

MSBuild ProjectReference not copying output to folder

I have a .net project "A" that references a native c++ dll project "B" (twice, but that doesnt matter)
I have set the Private, OutputItemType, and CopyToOutputDirectory properties to get the project B dll output copied to the project A build folder.
This works when building project A inside visual studio, but doesn't work when building it using the MSBuild command line
This is how the project references are set up:
image.png
Was this page helpful?