Reputation: 6354
My question is pretty simple. Do I have to do a complete solution compile with MSBuild if I have multiple projects that reference each other via project reference, or can I simply compile just one of my projects, say my web deployment project, and MSBuild will figure out the references, and compile the referenced projects for me?
I am trying to simplify our CI environment, and I find it strange that I am currently building the whole solution, then individual deployment projects separately.
Thanks in advance!
Upvotes: 1
Views: 511
Reputation: 564831
You would need to use msbuild to compile the solution if you want references to also be updated. This also requires that the solution be setup with proper depedencies, and the projects be set to build (which typically happens by default).
Compiling a single .csproj will only compile that project.
Upvotes: 1