I don’t know about others, but I find myself building BizTalk projects from command line a lot. Why? Because of design-time, meta-design time, and runtime dependencies. Custom Pipeline components, custom Functoids, etc., sometimes interfere with the IDE. With command line compilations, sometimes you’ve to run clean. Following is a quick and dirty, but effective way to clean binary intermediates compiled under your solution(s) folder. Script is simple, but please make sure you understand it before you run it. It is presented "as is."

$path = "D:\SRC\BTSPrjs" # please modify path for your needs
Get-ChildItem -Path $path -Include OBJ -Recurse | %Remove-Item $_  -Recurse -Force }
Get-ChildItem -Path $path -Include BIN -Recurse | %Remove-Item $_  -Recurse -Force }