Error MSB6006: “mt.exe” exited with code 31

后端 未结 11 2187
孤城傲影
孤城傲影 2020-12-15 15:54

I ran into this problem today while migrating a VS2008 solution to VS2010. The problem occurred in either of the following scenarios:

  1. Rebuild Solution
11条回答
  •  一生所求
    2020-12-15 16:18

    Using process monitor and dbgview I discovered msmpeng (Microsoft Security Essentials) was accessing the file, just when mt.exe wanted to have it exclusively. Excluding the development directory solved the problem. It is still a workaround of course.

提交回复
热议问题