Showing posts with label PCF. Show all posts
Showing posts with label PCF. Show all posts

Thursday, June 27, 2024

ERROR While Building PCF : The term 'msbuild' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

 Hi All,

 

Issue while running : [msbuild /t:build /restore]

 

"The term 'msbuild' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again."

 

Resolution:

 

If you are using Visual Studio 2019 or 2017 follow below Steps

 

1. Navigate to My Computer

 

2. Right Click on my Computer and Click Properties (or) Click Settings and Search for Environment 

rampprakash_0-1719489065305.png

 

 

3. Edit the System environment

 

4. Select Path

 

rampprakash_1-1719489140922.png

 

5. And Click EDIT

 

6. Click New

 

if you are using VS 2019 use below

 

%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin

 

if you are using VS 2017 use below

 

%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin

 

7. That's it.

Now Close and Open the Same to make it 

msbuild /t:build /restore




If you are using VS 2022

 

Now Search for CMD

 

rampprakash_2-1719489370811.png

 

 

Directly use the Command 

 

msbuild /t:build /restore

 

to make it work.

 

That's it :slightly_smiling_face:

Day 11 - Customizing Option Sets Dropdown Fields with JavaScript

  In this Blog, we will see how to Customizing Option Sets Dropdown Fields with JavaScript label1 = formContext.getAttribute( "bosch_op...