プロジェクトに他の多くのdllを含むWPFアセンブリがあります
メインアセンブリとapp.configを除くすべてをビルドディレクトリからbinというサブディレクトリに移動したい
これは、app.configにプロービングタグを追加して手動で行うと簡単です(切り取りと貼り付けのジョブ)
<configuration>
<connectionStrings>
<add name="ConnectionString" connectionString="..." />
</connectionStrings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin"/>
</assemblyBinding>
</runtime>
</configuration>
私が今やりたいのは、ビルドの最後に、アセンブリ以外のすべてのものをbinディレクトリに自動的に移動することです。
だからこれから
App.exe
App.config
Domain.dll
Application.dll
Framework.dll
これに
App.exe
App.config
bin\Domain.dll
bin\Application.dll
bin\Framework.dll
たくさんのmoveコマンドを含むbatファイルを使用できると思いますが、それよりも少し再利用可能でインテリジェントなものがあることを期待していました。