Reputation: 477
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.
Upvotes: 0
Views: 2734
Reputation: 24579
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
Upvotes: 4