I am using sample code to distribute the SDK. In distribution, the relative path from code to SDK assemblies is different from assembly. For example:
Distribution
csharp/bin/assembly.dll example/ex1/ex1.csproj
Assembly machine
foo/sdk/csharp/bin/assembly.dll bar/baz/quux/ex1/ex1.csproj
Suppose I can't move anything. Is there a way I can instruct ex1.csproj look in both
../../csharp/bin/ and ../../../../foo/sdk/csharp/bin/ for assembly.dll ?
In C ++, I put the dependency path in a standalone property sheet and distributed another version with the SDK. But C # does not have property sheets, and I do not want to support two versions of the full project.
I saw this question saying that I cannot use multiple <HintPath> tags, so I am looking for another way to approach the same behavior.
c # visual-studio-2010 msbuild csproj
japreiss Mar 27 '13 at 18:27 2013-03-27 18:27
source share