Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to let Visual Studio search for Referenced assemblies from more than one path in compile time

$
0
0

Hi,

I have an issue were Visual Studio has to search for the referenced assemblies from more than one place.

Say, Assembly A.dll is present in two folders

C:\Assemblies\Folder1\A.dll

C:\Assemblies\Folder2\A.dll

I would need to set the Visual Studio project to search/set for the A.dll from either of the location viz Folder1 or Folder2.

One way to do is to add both the folders to <HintPath>, anyway I it doesn't work since the developer has to edit the project file everytime he references the new assembly.

Another solution I can think of is to use the target file and import it in to the project. With this approach I would need a clue on how to make all the referenced assemblies to look for the entry I have in the target file.

Any help would be appreciated.

Thanks,

Deena



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>