Skip to content

The differenct parameter in web.config #28871

Answered by gfoidl
decie asked this question in Q&A
Discussion options

You must be logged in to vote

processPath=".\MyApplication.dll"

Won't work, as it's not a process -- "just a dll".

processPath=".\MyApplication.exe"

Is an application -- either self-contained or from .NET Core 3 onwards produced by the SDK, so that on windows you can run this exe instead of dotnet MyApplication.dll.

So coming back to the dll:

...
<aspNetCore processPath="dotnet" arguments=".\MyApplication.dll" ... />
...

should be used if you don't want to use the exe.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by decie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants