{"id":2170,"date":"2017-12-07T12:14:13","date_gmt":"2017-12-07T12:14:13","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2170"},"modified":"2020-01-09T09:45:04","modified_gmt":"2020-01-09T09:45:04","slug":"msbuild-slower-than-devenv","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/msbuild-slower-than-devenv\/","title":{"rendered":"Msbuild slower than devenv"},"content":{"rendered":"<p><strong>scmuser created the topic: msbuild slower than devenv<\/strong><br \/>\nHi, I&#8217;m experiencing performance inconsistencies with regards to build duration when building a VS2008 solution file with either devenv or msbuild from command line.<\/p>\n<p>My solution contains both C# and C++ projects, and I have these results:<\/p>\n<p>devenv.exe (either command line or within the ide): 7 minutes msbuild.exe: 14 minutes<\/p>\n<p>I tried tuning the msbuild switches passing \/maxcpucount and \/p:VCBuildAdditionalOptions=m# but with no luck so far.<\/p>\n<p>Any idea?<\/p>\n<p><strong>scmuser replied the topic: Re:msbuild slower than devenv<\/strong><br \/>\nwhat is the full msbuild command you are running?<\/p>\n<p>As a side point, have you got the build output turned down to Quiet or Minimal? That reduces build time a little&#8230;<\/p>\n<p>7 minutes to build in the IDE!! Personally I&#8217;d go insane, debugging must be a nightmare<\/p>\n","protected":false},"excerpt":{"rendered":"<p>scmuser created the topic: msbuild slower than devenv Hi, I&#8217;m experiencing performance inconsistencies with regards to build duration when building a VS2008 solution file with either devenv or msbuild from&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[51],"tags":[366],"class_list":["post-2170","post","type-post","status-publish","format-standard","hentry","category-msbuild","tag-msbuild"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2170"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2170\/revisions"}],"predecessor-version":[{"id":2171,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2170\/revisions\/2171"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}