title: TFS Automation Build generated publish files not working as expected
body: <p>When we do a <strong>manual build</strong> to Dev, the application is working as expected and events are getting logged to Database. </p>
  
  <p>But, when we do a build using <strong>TFS Build Definition</strong>, the application is working, but the events are not getting logged into database. What we have noticed is the bin folder in publish files being generated in manual build has a different size to that of AutomationBuild.</p>
  
  <p>How do i solve this? Do i need to make some config changes or need to add some script commands to the Automation Build publish steps?</p>