Getting error in jenkins while .net project publish "No home directory is available for .NET SDK '.NET4.5'"

57 views Asked by At

I am trying to publish website using .Net 4.5 but getting error mentioned in the subject.

The option selected for Build steps is as follow,

".NET: Publish project (publish)"

Since I am new to jenkins I am not aware of the error I am getting.

After few online examples I found that the SDK installation path has to be mentioned abd I suggested by many people the path should be like "C:\Program Files\dotnet" but I could not find such path on my server. Does that mean the SDK 4.5 is not installed on my server? please help me to understand and resolve this issue. refer screenshot for reference,

enter image description here

enter image description here

enter image description here

0

There are 0 answers