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:
- rebuild solution
- 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
Post a Comment