I have WPF assembly with a bunch of other dlls in my project
I want to move everything except the main assembly and the app.config from the build directory to a subdirectory called bin
this is easy when I add the probing tag to my app.config and do it manually (a cut and paste job)
<configuration>
<connectionStrings>
<add name="ConnectionString" connectionString="..." />
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin"/>
</assemblyBinding>
</runtime>
</configuration>
What i want to do now is automatically move everything that's not the assembly into the bin directory at the end of my build.
so from this
App.exe
App.config
Domain.dll
Application.dll
Framework.dll
to this
App.exe
App.config
bin\Domain.dll
bin\Application.dll
bin\Framework.dll
I'm guessing I could use a bat files with a bunch of move commands in it but i was hoping that there was something a bit more reusable and intelligent than that out there.