0

Every time after publishing my project to iis i need to change in the web config the processPath attribute from processPath="dotnet.exe" to processPath="C:\Program Files\dotnet\dotnet.exe" to start my program.

I know that i can add this attribute/parameter to my project, but i don't know how. In my project i have not a web file config. The config file as i understand is created automaticaaly when i publish my project.

thehennyy
  • 4,020
  • 1
  • 22
  • 31

1 Answers1

4

Just add path of dotnet.exe to Environment variable Path

This PC -> Properties -> Advanced system settings -> Environment Variables... -> System variables -> Path -> Edit -> New -> C:\Program Files\dotnet\dotnet.exe
Roman Marusyk
  • 23,328
  • 24
  • 73
  • 116