You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is sometimes necessary to build project A before project B without project B referencing the assembly that A generates. In such cases one can use ProjectReference with ReferenceOutputAssembly="false".
This however is not sufficient in all scenarios, especially when these projects target different, incompatible frameworks and/or multi-target.
Turns out 3 properties need to be set to make this work:
Proposal: introduce a new item that can be use to express that this project depends on building another project, but has no implication on references. Such item could be called e.g. ProjectBuildOrderDependency, DependsOnProject, etc.
<DependsOnProjectInclude="B.csproj" />
The text was updated successfully, but these errors were encountered:
It is sometimes necessary to build project A before project B without project B referencing the assembly that A generates. In such cases one can use
ProjectReference
withReferenceOutputAssembly="false"
.This however is not sufficient in all scenarios, especially when these projects target different, incompatible frameworks and/or multi-target.
Turns out 3 properties need to be set to make this work:
This is much more complex than it should be.
Proposal: introduce a new item that can be use to express that this project depends on building another project, but has no implication on references. Such item could be called e.g.
ProjectBuildOrderDependency
,DependsOnProject
, etc.The text was updated successfully, but these errors were encountered: