MSB3073
This diagnostic code is emitted when an executable exited with an error code, or emitted an error in the expected format.
The complete message is something like this:
MSB3073: The command 'command' exited with code 'return code'.
Look to the output of the command to determine the root cause of the failure. If logging was enabled in the build, the output might be written to the build log.
To diagnose the error, first enable a diagnostic log (use the -verbosity:diag command-line switch), and check the MSBuild log file with the full diagnostics output. For bigger output logs on large projects, consider using the binary log (-bl command-line switch) and the MSBuild Structured Log Viewer to view the output more easily.
You can also set the MSBuildDebugEngine environment variable to 1 to get all possible logs. See Building MSBuild for the .NET Framework - Logs.
It might be helpful to reproduce the error in isolation. Try running the tool separately with the same inputs and command-line arguments that MSBuild used in the build. If symbols are available and you have a Debug build of the tool, you can try attaching a debugger to the tool and debug the tool itself to see what the problem is.
Feedback
Submit and view feedback for