I converted a project to VS2015 from VS2012 I think. Now I get the following error and its the first time getting it so I'm a bit lost on how to solve it or what the cause is.
Severity Code Description Project File Line Suppression State Error The command ""C:\Program Files (x86)\Microsoft\ILMerge\ILMERGE.EXE" /t:console /targetplatform:v4,%systemroot%\Microsoft.NET\Framework\v4.0.30319 /out:BlobClient.exe StrikeMedia.BlobStorage.CmdLineTool.exe StrikeMedia.ServiceBus.dll StrikeMedia.BlobStorage.dll" exited with code 3. StrikeMedia.BlobStorage.CmdLineTool
Hope you can assist me on this.
Thanks
Eventually, the source of the magic number 3 was identified: The C runtime abort function terminates the process with exit code 3.
In the case you're linking to you can clearly see a few lines above the check for exit code 3 that it is used to indicate that the code has changed. Ie in this case this will give the behaviour that the automatic restart is done as long as the reason to terminate was that the code changed and nothing else.
Generally speaking, the Error MSB3073 is generally caused by an incorrect path in the command line. So, first, you should check the path in the command line, make sure all the paths are correct. And as test, you can execute this command line separately in the command line window.
Adding an answer so someone else who might be having similar issues get help.
The last part of the error points to the issue.
exited with code 3
which is listed here as
ERROR_PATH_NOT_FOUND 3 (0x3) The system cannot find the path specified.
As you later found out the ILMerge was not installed on the machine after which the error was gone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With