Build the SL5 files to a different directory in order to avoid versions conflicts of the same dll name
Do not generate SL4 dlls.
Put the .NET 4.5 dlls in a different directory (net45).
Copy files from the right folders.
Xap files can be in the root build folder.