What is the right way to move references around in my output folder?

82 Views Asked by At

My solution contains a few default Plugin projects which our build into

<OutputPath>..\bin\Debug\Plugins\$(MSBuildProjectName)</OutputPath>

Doing that all referencec assemblies end up in the same folder as my project assembly. I would like to have them in

..\bin\Debug\Plugins\$(MSBuildProjectName)\Dependencies\

I successfully did by moving the dlls around from the post-build event command line.

Is this the right way? Or what should I do instead?

1

There are 1 best solutions below

0
Bowman Zhu-MSFT On BEST ANSWER

Is this the right way? Or what should I do instead?

I think this is already the correct way, because no matter what method you using, you still needs to move/copy the files in this situation.

Just meet your requirement is ok.