We have a large number of Visual Studio solutions that contain the same common 15 projects, and most of the solutions differ only in the web application.
I try to combine everything into one assembly, which builds common projects only once, and then web application projects reference the output common assemblies.
I find this, since the web project points to common projects through the <ProjectReference> element, I canβt say what it is looking for in another place to build inside my custom assembly project. I would like to use something similar to:
<MSBuild Projects = "@ (Solutions)" Targets = "Rebuild" Properties = "ReferencePath = $ (MyReferencePathFolder)">
but this will only work if the web project references the common assembly DLL through the <Reference> element. It seems that if he cannot find what is specified in the <ProjectReference>, he does not try to look into any ReferencePath folder. He's just giving up.
source share