In my situation, our team don't want to keep 'packages' folder, so we put all dlls in other directory like 'sharedlib'.
I used build event to solve this problem.
if "$(ConfigurationName)" == "Release" (goto :release) else (goto:exit):releaseif not exist $(TargetDir)\roslyn mkdir $(TargetDir)\roslyncopy /Y "$(ProjectDir)..\..\Shared Lib\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\tools\Roslyn45\*""$(TargetDir)\roslyn"goto :exit:exit