Create a separate assembly for each page in the TFS Build 2012 definition


I am working on creating build from TFS 2012. I am able to generate build from TFS build templates but problem is that my website(ASPX pages), I am using after generating build is not creating separate dll for individual page.

But If I generate build from VS2012 I can generate build with separate assembly for individual pages.I can see this option when I click on publish and configure.

But how to have same option in Tfs Build templates ?? I have searched for MSbuild arguments and didn't find anything related to that

The best thing for us was... change to Jenkins and use make.

But seriously -> you can watch what changes in csproj/sln. Then most of options in this file are switches in MsBuild.