we’ve ran into a problem that we think is a bug. When we try to build our solution via MSBuild using /p:OutputPath argument that should copy all dll files created by the build, the dll files of the Project that wasn’t referenced by any other Project of the Solution won’t get copied to the mentioned path.
Here is our test case:
TCElements2.zip (190.0 KB)
Unzip the files
Run this command in MSBuild (adjust the paths as needed)
msbuild C:\users\KolarD\Plocha\TCElements\TCElements.sln /p:OutputPath=C:\users\KolarD\Plocha\TCElements\MyOut -t:Rebuild
In the folder \TCElementsy\MyOut should now be visible the dll file “ClassLibrary4” but it isn’t.
Thank you in advance,