TFS Build not finding a binary reference
TFS Build not finding a binary reference
I have a binary reference in 1 of my projects, this reference is relative, and looks something like this:
<Reference Include="MyNameSpace.Etc">
<HintPath>............SomeProjectSomeFolderSomeFile.dll</HintPath>
</Reference>
Building locally works perfectly. The problem is the build server has no idea where to locate this reference because the relative path makes no sense.
My question is:
How can I instruct the build server to locate binary references in a folder that I designate. I want to be able to create a folder on the build server and populate it with any DLLs that I need and then have the build process know exactly where to find the DLLs?
1 Answer
1
If you have some references only in your local dev machine. To make sure the build on build server works well, there is three way for this situation:
....SomeProjectSomeFolderSomeFile.dll
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Possible duplicate of MSBuild cannot find reference when executed through TFS build service
– JL.
Jan 8 '16 at 10:55