Please wait, loading...

 

” msbuild is not recognized as internal or external command ” error PCF – msbuild error – msbuild is not recognized

September 21, 2022

 

  • You get an error – “msbuild is not recognized as internal or external command” while executing msbuild command from your regular command prompt
  • You get an error – “msbuild is not recognized as internal or external command” while executing msbuild command from Visual studio code. 

    Step 1 – Go to properties of current machine This PC.

    Step 2 – click on Advanced system settings

    Step 3 – Click Environment Variable

    Step 4 – Edit Path Value

    Step 5 – Set the path

    For Visual Studio 2019 use below value.

    HTML

    For Visual Studio 2017 use below value.

    HTML

    Click in OK in all Widows and Done.

    Step 6 – Reopen Command Prompt or Visual Studio code and open terminal

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651
Microsoft Dynamics Community Profile

Learn more