visual studio 2010 - Error MSB6006: "mt.exe" exited with code 31 -


i ran problem today while migrating vs2008 solution vs2010. problem occurred in either of following scenarios:

  1. rebuild solution
  2. clean followed build solution

if did second build after either of these, problem did not show up. using google, came year-old blogs microsoft saying unable reproduce problem, or fixed in future release.

the best thing found here: mikazo tech blog: solve mt.exe errors in visual studio 2010

in above article said problem related manifest generation, , solution turn off manifests in settings under linker-->manifest. don't need manifests project, still wasn't satisfied.

i have solved this, , going answer own question, because haven't found specific error (code 31) on stackoverflow.

using process monitor , dbgview discovered msmpeng (microsoft security essentials) accessing file, when mt.exe wanted have exclusively. excluding development directory solved problem. still workaround of course.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -