I ended up creating a custom activity to create WSP. I changed the default dll setting for build so that they remain in bin folder and call wspbuilder. After wsp is created move all dll files to source folder where TFS would have copied the dlls with default settings.
↧