visual studio - Project reference in one .sln, and assembly reference in another -


scenario

this distillation of problem having...

  1. we have 2 solution files. both have project reference same project, proja
  2. proja has reference projx

scenario

problem

we projx reference project reference in solutionone, assembly reference in solutiontwo

how can done, since proja.csproj same file referenced both solutions?

i've never done before sounds conditional build. you'd need define new solution configurations - instead of debug/release, you'd call them projref , asmref. solutionone build using projref , solutiontwo build using asmref. then, you'd modify vbproj/csproj , tag reference condition.

take @ article:

http://weblogs.asp.net/lkempe/archive/2009/12/02/projectreference-with-condition-in-your-msbuild-project-files.aspx


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -