Search code examples
.netvisual-studio-2013tfsbuildbuild-server

DLL Reference Issue with TFS Build server


I'm trying to implement TFS Build server in my VS 2013 Project. But got stuck with some third party dll reference issue. Source structure in my local folder and TFS is same and dll hint path in csproj file is set to relative path.

My Build Defenition

Project File

Error message

Please help me to get rid of this issue.


Solution

  • At last I got it. I have changed the relative path of hint path in .csproj file to TFS Specific path using $(MSBuildProjectDirectory) . i,e., ..\..\Common\Myclass.dll is changed to $(MSBuildProjectDirectory)\Common\Myclass.dll. It solved my issue and got a successful build.