title: VSTS build ended with empty build artifacts
body: <p>We are using VSTS build using ASP.Net template. We are passing MSBuild Arguments as below- </p>
  
  <blockquote>
    <p>/p:DeployOnBuild=true
    /p:WebPublishMethod=Package
    /p:PackageAsSingleFile=true
    /p:SkipInvalidConfigurations=true 
    /p:PackageLocation="$(build.artifactstagingdirectory)\"</p>
  </blockquote>
  
  <p>We see no build error. From the log we observe a line - </p>
  
  <blockquote>
    <p>C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /LRM -p ..\LRM\ -u -f -d PrecompiledWeb\LRM\</p>
  </blockquote>
  
  <p>where LRM is the .NET sln name which we are building. This sln contains multiple projects along with the LRM website.</p>
  
  <p>At the end of the build pipeline we see no artifact generated. We see a warning at the "Publish Build Artifacts" saying - </p>
  
  <blockquote>
    <p>2018-01-03T06:07:47.9208838Z ##[warning]Directory 'D:\VSTS Agents\DEV-QAS\A1\66\a' is empty. Nothing will be added to build artifact 'drop'.</p>
  </blockquote>