Error MSB6006: “mt. Exe “exited with code 31 is always encountered when compiling the project with VS. That’s the question.
The specific error was
Second, solutions
Set the project property Manifest Tool, and set the “Embed Manifest” in “Input and Output” to No, the specific operation is shown in the figure below:
Third, the cause of the problem
The reason has to do with manifest, seeing the explanation in someone else’s blog:
According to Microsoft’s documentation, 3. Mt. Exe is “a tool that generates signed files and catalogs”. Mt. Exe is used in the manifest generation process. “A manifest is an XML document that can be an external XML file or a resource embedded inside an application or an assembly. The manifest of an isolated application is used to manage the names and versions of shared side-by-side assemblies to which the application should bind at run time. The manifest of a side-by-side assembly specifies its dependencies on names, versions, resources, and other assemblies.”
According to Microsoft documentation, MT.EXE is “a tool for generating signed files and directories.” MT.EXE USES the listing generation process. If you don’t know what’s obvious, more documentation explains: “Manifest is an XML document, which can be an external XML file or a resource embedded within an application or assembly. The list of isolated Applications is used to manage the names and versions of the Shared parallel assemblies that the application should bind to at run time. The list of side-by-side assemblies specifies the assembly’s dependencies on name, version, resources, and other assemblies. ”
Read More:
- error MSB6006: cmd.exe “exited with code 3
- Vs compilation error msb6006:“ cmd.exe ” exited with code 1.
- Solve the problem of “error msb6006: link.exe Exited, bad method with code 2
- When vs2017 compiles CUDA project, “error msb6006:“ cmd.exe ”Exited with code 1 Solutions for
- Compiling QT project under vs encountered “error 89error msb6006:“ cmd.exe ”Exited with code 3
- Vs2013 error msb8031 solution today ran a MFC program, found that the error: error msb8031: building an MFC project for a non-U
- Error msb3428 appears in NPM install: could not load the visual c + + component VCBuild.exe error
- code is 143 Container exited with a non-zero exit code 143
- Vs + CUDA compilation error: msb3721, return code 255
- Solution of error msb3073 when compiling with vs
- svn process exited with error code: 1
- Job for docker.service failed because the control process exited with error code. See systemctl sta
- How to avoid OrderSend Error 130 in MT4
- Job for network.service Failed because the control process exited with error code. See “SystemC
- Nginx start error: job for nginx.service failed because the control process exited with error code
- Apache2 cannot be started and an error is reported for apache2.service failed because the control process exited with error code.
- Linux virtual machine network “job for” network.service failed because the control process exited with error code”
- skypebridge.exe corrupted image error code 0xc000012f
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- Collect2.exe: error: LD returned 5 exit status solution