VS 2017 Post Build Event Exit Code 3, Works in CMD

Question:

I am trying to execute the following command:

and I get the following error:

If I take and execute the output of the error

In cmd/powershell it works just fine. I have verified all files exist and are in the correct location.

Answer:

MSVS Builder error code 3 is a “path error”:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx

  • SUGGESTION:

    Try specifying an absolute path setting for typescripter.settings.json.

  • You might also try eliminating the double-quotes:

    EXAMPLE:

    $(SolutionDir)packages\Centeva.Ct-TypeScripter.1.1.13\tools\TypeScripter.exe

Source:

VS 2017 Post Build Event Exit Code 3, Works in CMD by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply