views:

1636

answers:

1

I know that I can add a HintPath to an external DLLs to help Visual Studio/TFS find the dll when it builds.

What I was wondering is... is it possible to add multiple HintPath?

For example... developers have their DLLs for one place and we do a GetLatest of those DLLs at a different place on the server hence the need for multiple HintPath.

What do you think, world?

+3  A: 

Alright. I'm faster than Stackoverflow this time. I tried to add it and it seems to work fine.

So multiple HintPath IS possible.

When you have this:

<Reference Include="System.ComponentModel.Composition.Codeplex">
    <HintPath>..\..\..\MEF2_Preview2\bin\System.ComponentModel.Composition.Codeplex.dll</HintPath>
</Reference>

You can simply add more hint path like that:

<Reference Include="System.ComponentModel.Composition.Codeplex">
    <HintPath>..\..\..\MEF2_Preview2\bin\System.ComponentModel.Composition.Codeplex.dll</HintPath>
    <HintPath>D:\MEF\System.ComponentModel.Composition.Codeplex.dll</HintPath>
</Reference>

Thanks anyway.

Maxim
Did you just add multiple HintPath entries, or have multiple paths in a single entry?
Soo Wei Tan
if single entry, was it comma seperated or semicolon?
Maslow
Could you please tell us how it is possible?
iik