c# - MSBUILD - Optimize ResolveProjectReferences target -
we have large solution of 300+ projects.
the build process taking long time. have looked combining number of projects management reluctant allocate enough time that.
i have tried following:
- set copy local false
- use common bin folder solution
however, builds still take 5+ minutes, when there small change 1 small projects. note incremental build process works fine, , projects have changed built.
while looking @ diagnostics, appears of time spent in resolveprojectreferences target. target appears calling <msbuild>
task. particular call appears take 500 ms each time. sounds high me considering nothing gets built majority of time! i.e. check modified date of assembly , conclude nothing needs built.
that process seems inefficient me. there can do? instance create temporary file keeps track of projects have changed since last build , override resolveprojectreferences target use that? else?
note:
- i build command line.
- i use /m switch
- i output build errors console
please let me know if have questions.
Comments
Post a Comment