MSBuild Override Project Reference to resolve to Precompiled Assembly

Posted by Ryu on Stack Overflow See other posts from Stack Overflow or by Ryu
Published on 2010-04-19T14:42:02Z Indexed on 2010/04/23 18:43 UTC
Read the original article Hit count: 475

Situation

I have about 400 csproj files using project references. About 3 of those a separate team wants to fork and incorporate into a standalone app.

I branched the 3 projects of interest, and because the separate team uses a diff SVN repo I used svn externals to pull in these projects into the folder of the standalone app. Obviously since this team uses a different folder structure the project references no longer resolve.

Attempted Solution

I figured setting the msbuild properties ReferencePath and AdditionalLibPaths to point to a directory with all the precompiled dependencies would allow the project references a fallback point and resolve correctly. However that doesn't appear to be the case.

Question

  • Does anybody know a way to have a failed projectreference look up resolve to the precompiled dll?
  • Perhaps point me to an automated tool to convert projectreferences to dll references?
  • Or is there a better way to solve this problem?

Thanks

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about visual-studio-2008