MSBuild not finding SDC

May 10, 2010 at 7:24 PM

On the build server, we created a new directory 'BuildTools' under 'C:\Program Files\MSBuild\Microsoft\VisualStudio' and placed all the files in the SDC zip under this directory. I added this code to the TFSBuild.proj file:

  <PropertyGroup>
    <TasksPath>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\BuildTools</TasksPath>
  </PropertyGroup>
  <Import Project="$(TasksPath)\Microsoft.Sdc.Common.tasks"/>

But I get this error from MSBuild:

TFSBuild.proj(13,11): error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\BuildTools\Microsoft.Sdc.Common.tasks" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

 

Why isn't MSBuild able to find these files?

Thanks,

Brandon