How to leverage multicore CPUs when compiling C# projects in a large solution?

馋奶兔 提交于 2019-12-22 05:05:05

问题


As far as I know, VS2008/MSBuild do not suport multithreaded compilation of C# projets. I don't know if VS2010 supports it. Do you know a 3rd party product or an open source projet that does that?


回答1:


Indeed MSBuild does support multiple cores; though it's a bit of a hack with some limitations.

It's easier from the commandline.

Likewise, some build servers (teamcity is one if I recall) can have build runners on multiple machines to further reduce build times.



来源:https://stackoverflow.com/questions/2582137/how-to-leverage-multicore-cpus-when-compiling-c-sharp-projects-in-a-large-soluti

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!