To build the BizTalk solution you can call MSBuild.exe /p:Configuration=Release /t:Rebuild MyBizTalkProject.sln (not tested, but should be correct or very close). After that is built you can build the BTDF MSI with a similar command line against the .btdfproj and /t:Installer.
Thanks,
Tom
Thanks,
Tom